What is the use of getchar?

What is the use of getchar? mcq and its answer is provided on this page.

getchar() function in c programming is used to take character input from stdin.

What is the use of getchar?

Que. What is the use of getchar?
a a) The next input character each time it is called
b b) EOF when it encounters end of file
c c) The next input character each time it is called EOF when it encounters end of file
d d) None of the mentioned
Answer: View Answer Answer: c
Explanation : None.


Comments