Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Which function definition will run correctly?
  2. A.
    int sum(int a, int b)
       return (a + b);
    B.
    int sum(int a, int b)
        {return (a + b);}
    C.
    int sum(a, b)
         return (a + b);
    D.
    Both (a) and (b)

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment