Classical

C Programming MCQ - File Management

11:  

The fseek function

A.

needs 3 arguments

B.

makes the rewind function unnecessary

C.

is meant for checking whether a given file exists or not

D.

both (a) and (b)

 
 

Option: D

Explanation :


12:  

The contents of a file will be lost if it is opened in

A.

a mode

B.

w mode

C.

w+ mode

D.

a+  mode

 
 

Option: C

Explanation :




Suggest an improvement