Question
a.
all other parameters in the function prototype must have default values
b.
all parameters to the right of that variable must have default values
c.
all parameters to the left of that variable must have default values
d.
no other parameters in that prototype can have default values
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. If you assign a default value to any variable in a function prototype's parameter list, then _____
Similar Questions
Discover Related MCQs
Q. Which of the following calls a function named displayName, passing it no actual arguments?
View solution
Q. Functions that returns information about an object's state can be classified as ________
View solution
Q. An auxiliary function _____
View solution
Q. Assume a program contains a void function named displayName, which requires no formal parameters. Which of the following is a correct function prototype for this function?
View solution
Q. The function whose prototype is Item getData(void); returns _____
View solution
Q. The name of a function ends with
View solution
Q. Function templates _____________
View solution
Q. The outline or the definition of a function is called its
View solution
Q. A function stub typically contains
View solution
Q. A variable's _____ indicates which portions of the program can use the variable
View solution
Q. The get() function returns _____
View solution
Q. You can place function templates
View solution
Q. The last statement in a value-returning function is always _____
View solution
Q. Another drawback to returning an error code from a function is that any error code returned by the function
View solution
Q. The function that takes arguments to set the bits of cout is _____
View solution
Q. The function that takes arguments to set the bits of count is _____
View solution
Q. When two types are used in a function template and one is labeled T, the other
View solution
Q. The getline() function reads a line of text until _____
View solution
Q. One drawback to returning an error code from a function is _____
View solution
Q. The two parts of a function are the
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!