BANK SEBI Grade A Phase 1 & Phase 2 Mock Test 2024 Programming and Data Structure Programming in C While Loop
In context of C++, consider following loop-statement:
while (5) {cout <<"Hello";}
Which of the following is true?
1
Hello will be displayed one time
2
Hello will be displayed five time
3
Hello will be displayed zero time
4
Hello will be displayed infinite time
5
System will throw error