| |
GeekInterview.com > Interview Questions > Programming > C
| Print | |
Question: fflush() argument in ANSI C
Answer: Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above |
| May 05, 2008 09:26:37 |
#1 |
| divyavenki |
Member Since: May 2008 Total Comments: 2 |
RE: fflush() argument in ANSI C |
fflush()'s purpose is to write any buffered output data for the specified stream.fflush is used on the standard output stream because stdout is usually buffered and the output might not be prompted immediately.
Its prototype is int fflush(FILE *stream_pointer); |
| |
Back To Question | |