#include<stdio.h>  
int mai

Loading

โœช Choose the correct option.

#include  
int main() {
int i=1;
while() {
printf("%d ", i++);
if(i>10){
break;
}
}
return 0;
}

A. There should be a condition in the while loop
B. There should be at least a semicolon in the while
C. The while loop should be replaced with for loop.
D. No error

Leave a Comment