adplus-dvertising
frame-decoration

Question

What is the use of getchar()?

a.

The next input character each time it is called

b.

EOF when it encounters end of file

c.

The next input character each time it is called EOF when it encounters end of file

d.

None of the mentioned

Posted under C Programming

Answer: (c).The next input character each time it is called EOF when it encounters end of file

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the use of getchar()?