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

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.

Correct Answer: The number of successful read input values.

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

Related Questions

#includeint main(){int a;scanf("%d",&a);printf("%d",&a);return 0;}উপরের program এ 10 ইনপুট দিলে কী output দেখাবে?
Which function returns an array consisting of associative key/value pairs?

Next steps