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.

Click to view Correct Answer

Previous || Next

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

Unix - Part 1

Windows 2000 Server - Part 1

Windows NT - Part 1

Constructors and Destructors - General Questions

Objects and Classes - General Questions

OOPS Concepts - General Questions

References - General Questions

Arrays - General Questions