File Input Output - Study Mode
[#76] Which of the following mode argument is used to truncate?
Correct Answer
(C) w
[#77] What does the following command line signify? prog1|prog2
Correct Answer
(C) It runs both the programs, pipes output of prog1 to input of prog2
[#78] Which function has a return type as char pointer?
Correct Answer
(C) fgets
[#79] What is the syntax of ungetc()?
Correct Answer
(B) int ungetc(int c, FILE *fp)
[#80] scanf() is a predefined function in. . . . . . . .header file.
Correct Answer
(C) stdio. h