Vidyalelo
C Programming · Q44

Function

Programming · C Programming · question 44

Q44

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

A.
The actual values read for each argument.
B.
1
C.
0
D.
The number of successful read input values.
Answer
E.
ASCII value of the input read.

Answer: Option D

Solution

Answer: Option D
Solution:

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