HOME
MENTORS
CONTRIBUTORS
Aim
Theory
Pre Test
Procedure
Simulation
Post Test
References
Feedback
Pre Test
1. Which of the following true about FILE *fp.
a : FILE is a keyword in C for representing files and fp is a variable of FILE type.
b : FILE is a stream
c : FILE is a buffered stream
d : FILE is a structure and fp is a pointer to the structure of FILE type
Which of the following mode argument is used to truncate the file?
a : r
b : w
c : f
d : t
The first and second arguments of fopen() are.
a : A character string containing the name of the file & the second argument is the mode
b : A character string containing the name of the user & the second argument is the mode
c : A character string containing file pointer & the second argument is the mode
d : None of the mentioned
Submit Quiz