12th Class Computers Science Sample Paper File Handling - Sample Paper-3

  • question_answer
    It opens a binary file for writing only. Overwrite the file if the file exist. If file not exist then create new file.

    A) w                     

    B) w+    

    C) wb+ 

    D) wb

    Correct Answer: C

    Solution :

    [c] wb+ mode opens a binary file for writing only. Overwrite the file If the file exist. If file not exist then create new file.               


You need to login to perform this action.
You will be redirected in 3 sec spinner