C++ Programming - Functions

Exercise :: Functions - General Questions

16. 

Which of the following function / types of function cannot have default parameters?

A. Member function of class
B. main()
C. Member function of structure
D. Both B and C

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

17. 

Which of the following statement is correct?

A. The order of the default argument will be right to left.
B. The order of the default argument will be left to right.
C. The order of the default argument will be alternate.
D. The order of the default argument will be random.

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

« Prev   1 2 3 4