Contents

To open a file which function is used?
a) fopen()                             
b) fclose()
c) fread()                              
d) fseek()

a

To close a file which function is used?
a) fopen()                             
b) fclose()
c) fread()                              
d) fseek

b

Which function returns the current pointer position in the file?
a) fopen()                             
b) fgetc()
c) ftell()                                                
d) fseek

c

To write data into the file which function is used?
a) printf()                              
b) fprintf()
c) scanf()                              
d) fsanf()

b

To read data from file which function is used?
a) printf()                              
b) fprintf()
c) scanf()                              
d) fsanf()

d

To write a single character into the file which function is used?
a) fputc()                              
b) fgetc()
c) scanf()                              
d) fsanf()

a