What does scanf function return?

What does scanf function return? mcq and its answer is provided on this page.

scanf() is a built in function in c programming language that is used to accept input from user.

What does scanf function return?

Que. What does scanf function return?
a a) Number of successfully matched and assigned input items
b b) Nothing
c c) Number of characters properly printed
d d) Error
Answer: a
Explanation : None.


Comments