Question
a.
The default value for an argument can be a global constant.
b.
The default arguments are given in the function prototype.
c.
Compiler uses the prototype information to build a call, not the function definition.
d.
The default arguments are given in the function prototype and should be repeated in the function definition.
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. Which of the following statement is incorrect?
Similar Questions
Discover Related MCQs
Q. Where the default value of parameter have to be specified?
View solution
Q. Which of the following statement is correct?
View solution
Q. Which of the following statement is correct?
View solution
Q. Which of the following statement is incorrect?
View solution
Q. Which of the following statement is correct?
View solution
Q. Which of the following function / types of function cannot have default parameters?
View solution
Q. Which of the following statement is correct?
View solution
Q. The variable that are listed in the function's calls are called
View solution
Q. A programmer can create custom header files that must be end with
View solution
Q. Unary scope resolution operator is denoted by
View solution
Q. To make large programs more manageable programmers modularize them into subprograms that are called
View solution
Q. The maths function acos (x) stands for
View solution
Q. Which from the following is not a storage class specifier in C++?
View solution
Q. Which of the following function returns no value?
View solution
Q. A variable that is declared inside a block is called
View solution
Q. For accessing a global variable when a local variable of the same name is in scope, C++ provides a
View solution
Q. The () parenthesis in a function call
View solution
Q. Modules in C++ are called
View solution
Q. Which from the following is used for invoking a function?
View solution
Q. There are how many ways to invoke a function in C++?
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!