What will be the output of the following program on GCC?

		
					

Loading

โœช Choose the correct option.

What will be the output of the following program on GCC?

#include 
int main() {
int i;
for(i=-1;i<=10;i++) {
if(i<5)
continue;
else
break;
ptintf("Once");
}
return 0;
}

A. Once
B. compiler Error
C. No Error, No output
D. prints “Once” 10 times

Leave a Comment