119k views
0 votes
Hich of the following usually indicates that there is no moreinput to be read by a program?

A)'\\'
B)'\0'
C)END
D)EOF

1 Answer

6 votes

Answer: EOF

Step-by-step explanation:

End of file(EOF) indicates that there is no more input to be read from the program. When we open a file we use fprintf to print all the characters present, this printing continues until we reach the end of the file by checking a condition where we have reached the end of the file.

Then it terminates out of the loopwhen there are no more characters to be printed.

User TPHughes
by
7.3k points