1.

setvbuf() and setbuf() function controls buffering for the stream.(a) true(b) falseI have been asked this question during an internship interview.The above asked question is from File Operations in section Input and Output in C of C

Answer» RIGHT option is (a) true

Easy explanation - setvbuf() and setbuf() controls BUFFERING for the STREAM. If BUFF is NULL, buffering is turned off for the stream.


Discussion

No Comment Found

Related InterviewSolutions