11th Class Computers Science Sample Paper Cyber Olympiad Sample Paper-1

  • question_answer
    What is the output of the give \[C++\] code fragment?
    For \[(int\text{ }i\text{ }=1;\text{ }11;\text{ }i++)\]
    \[Cout<<i;\]

    A) 10

    B) 9

    C) 11

    D) 12

    Correct Answer: C


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