main() {
int i=1;
while()
{ printf("%d",i++);
if(i>10) break; }
}
a. The condtion in the while loop is must
b. There should be atleast a semicolon in the while()
c. The while loop should be replaced by the for loop
d. No Error
Learn C programming skills, test your c skill. C Interview questions.
No comments:
Post a Comment