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

  • question_answer
    With statement ensures that all the resources allocated to the file objects get deallocated automatically.

    A) True  

    B) False

    C) None of these

    D) All of the above

    Correct Answer: A

    Solution :

    [a] If you open your file with "with" statement then, with statement ensures that all the resources allocated to the file objects get deallocated automatically.          


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