Library Functions

Q1: What is the purpose of fflush() function.

A flushes all streams and specified streams.

B flushes file buffer.

C flushes input/output buffer.

D flushes only specified stream.

ANS:A - flushes all streams and specified streams.

"fflush()" flush any buffered output associated with filename, which is either a file opened for writing or a shell command for redirecting output to a pipe or coprocess. Example:
fflush(NULL); flushes all streams.

img not found

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.