Question: 7 - How many times hello is get printed? #include Using namespace std; void main ( ) int x; fOr X = - 1 :

7- How many times "hello" is get printed?
#include
Using namespace std;
void main ()
int x;
fOr X=-1: X<=10: x++
{
if (x <5)
continue;
else
break;
cout<<"hel1o"
}
a. Infinite times
b.11 times
c.0 times
d.10 times

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!