Question: Which of the following function declaration is/are incorrect?
Options
A : int Sum(int a, int b = 2, int c = 3);
B : int Sum(int a = 5, int b);
C : int Sum(int a = 0, int b, int c = 3);
D : Both B and C are incorrect.
Functions - General Questions more questions
Which of the following statement is correct?
Which of the following statement will be correct if the....
Which of the following statement is incorrect?
Which of the following statement is correct?
Which of the following function / type of function cannot....
Which of the following statement is incorrect?
Where the default value of parameter have to be specified?
Which of the following statement is correct?
Which of the following statement is correct?
Which of the following statement is incorrect?
Constructors and Destructors - General Questions more Online Exam Quiz
System Analysis and Design - Part 1
Constructors and Destructors - General Questions
Objects and Classes - General Questions
OOPS Concepts - General Questions