Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C++ Programming
»
Functions
Which of the following function declaration is/are incorrect?
int Sum(int a, int b = 2, int c = 3);
int Sum(int a = 5, int b);
int Sum(int a = 0, int b, int c = 3);
Both B and C are incorrect.
All are correct.
Correct Answer:
Both B and C are incorrect.
← Previous Question
Next Question→
More Questions from
Functions
Which of the following statement is correct?
Which of the following function / type of function cannot be overloaded?
Which of the following statement is correct?
Which of the following statement is incorrect?
Which of the following statement is correct?
Which of the following statement is correct?
Which of the following statement will be correct if the function has three arguments passed to it?
Which of the following statement is correct?
Which of the following statement is correct?
Which of the following statement is incorrect?
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments