adplus-dvertising
frame-decoration

Question

Which is a good guideline for creating function names?

a.

Use all lowercase letters to identify the functions as C++ functions

b.

Use long names to reduce the likelihood of creating a duplicate function name

c.

Use abbreviations as much as possible to save both keystrokes and memory

d.

Avoid the use of digits because they are easily confused with letters

Answer: (d).Avoid the use of digits because they are easily confused with letters

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which is a good guideline for creating function names?

Similar Questions

Discover Related MCQs

Q. A function that is prototype as int calculate(int num); may

Q. A function that is prototyped as double calculate(int num); may ______

Q. You can pass _____ to functions

Q. The weakest form of cohesion is

Q. If the description of function is "input the quantity, validate that the quantity is greater than 1, subtract 1 from the quantity, and print the quantity," the function is

Q. A function that changes an object's state belongs to the category of

Q. When the function char someFunction(int x) is executed,

Q. Which functions do not have a this pointer?

Q. When a program calls a function that has default parameters, if you omit an argument, you must _____

Q. Each generic type in a template function definition is preceded by the keyword _________

Q. The declaration section holds

Q. When the function void someFunction(int x) throw(char) is executed,_____

Q. Which of the following is NOT included in the header of a function?

Q. A function's single most important role is to

Q. The type of value that a function sends back to the function that calls it is known as its _____

Q. A function's purpose is to print customer data. Which of the following is the best name for this function?

Q. The function whose prototype is void getData(Item &thing); receives

Q. A function can make_________

Q. The loosest type of coupling is

Q. Which of the following function prototype is perfectly acceptable?