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

  • question_answer
    What is the output of the following code:  
     

    A) Hello!HiHow     

    B) [Hello!HiHow]

    C) Generate Error   

    D) None of the above

    Correct Answer: C

    Solution :

    [c] This code will "Generate Error" as write() method cannot work with list and you will pass "list" in this function.


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