Programming MCQS - QUESTION DETAILS

What is the purpose of the 'fflush' function in C?
A. Flush the keyboard buffer
B. Flush the output buffer
C. Flush the standard input
D. Flush the file stream

'fflush' is used to flush the output buffer in C.

Similar Questions

Which method is called to compare objects for equality in Java?






What is the output of printf("%c", 'a' - 32);?






How do you declare a dynamic array in C?






What is the purpose of the 'fflush' function in C?






How is an abstract class different from an interface in Java?






Which keyword is used to prevent method overriding in Java?






What is the output of System.out.println(10 / 3.0);?






What is the purpose of the 'strcmp' function in C?






How do you create a thread in Java?






Which method is used to read data from the keyboard in Java?