Home / C Programming / Functions :: Discussion

Discussion :: Functions

  1. Pick the correct statements.
    I.   The body of a function should have only one return statement.
    II.  The body of a function may have many return statements.
    III. A function can return only one value to the calling environment.
    IV. If return statement is omitted, then the function does its job but returns no value to the calling environment.

  2. A.

     I and II

    B.

     I and III

    C.

     II and III

    D.

     II and IV

    E.

     III and IV

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Explanation Not Provided


Be The First To Comment