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

  • question_answer
    What is the output of the following code:  
     

    A) Hello!Study Trigger 

    B) Hello!\nStudy Trigger

    C) Generate Error   

    D) None of the above

    Correct Answer: A

    Solution :

    [a] Hello!Study Trigger as first write(), writes the first line Hello! And second write() writes the second line Study Trigger.


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