1.

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 mentionedThe question was asked in an interview for internship.This interesting question is from Standard Input & Output in section Input and Output in C of C

Answer»

The correct ANSWER is (c) The next input character each time it is called EOF when it ENCOUNTERS END of file

The BEST I can explain: None.



Discussion

No Comment Found

Related InterviewSolutions