Home / C++ Programming / Functions - C++ :: Discussion

Discussion :: Functions - C++

  1. Which of the following function declaration is/are incorrect?

  2. 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.
    E.
    All are correct.

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment