Home / C Programming / Functions :: Discussion

Discussion :: Functions

  1. The function scanf() returns .........

  2. A.

     The actual values read for each argument.

    B.

     1

    C.

     0

    D.

     The number of successful read input values.

    E.

     ASCII value of the input read.

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    According to the prototype, the return type of scanf( ) function is int, that is the number of successful read input values.


Be The First To Comment