Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming Quiz 179 – Which of the following function declaration is/are incorrect?

Question: Which of the following function declaration is/are incorrect?
[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.

Answer: Option D