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

  • question_answer
    It opens a file for both reading and writing. Overwrite the existing file if the file exists.

    A) w                     

    B) w+    

    C) wb+                

    D) wb

    Correct Answer: B

    Solution :

    [b] w+mode opens a file for both reading and writing. Overwrite the existing file if the file exists.


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