In context of C++, consider following loop-statement : while(5) {cout…

HTET 2019

In context of C++, consider following loop-statement :

while(5) {cout <<"Hello";}

Hello will be displayed .......... time(s) by the above loop.

  1. A.

    Only one

  2. B.

    Five

  3. C.

    Zero

  4. D.

    Infinite

Attempted by 508 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bpsc

Loading lesson…