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

Discussion :: Functions - C++

  1. What will be the output of the following program?

     #include
     int GateFunction(int a, int b = 3, int c = 3) 
     {  
          coutreturn 0; 
     }
     int main()
     {
         GateFunction(5, 0, 0);    
         return 0; 
     }
    

  2. A.

    8

    B.

    6

    C.

    -6

    D.

    -8

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment