How to use end of file in c++?
Answers
Answered by
0
Answer:
in C program to signal the stop of reading from standard input. // using pre defined functions getchar() and putchar() with End Of File (EOF). count = getchar();
ʜᴏᴘᴇ ɪᴛ ʜᴇʟᴘs ᴜʜʜ✌️
❥ᴘʀɪʏᴀ
Answered by
1
Answer:
c+D
Explanation:
the driver converts a Control-D character at the start of a line into an end-of-file indicator. To insert an actual Control-D (ASCII 04) character into the input stream, the user precedes it with a "quote" command character (usually Control-V). AmigaDOS is similar but uses Control-\ instead of Control-D
Example.
hope it's helpful to you
Similar questions