Pre Test
- What is the way to suddenly come out of or quit any Loop in C Language?
- What is the output of C Program?
- What is the output of C Program?
- How long the following loop runs?
- The continue statement cannot be used with
continue; statement
break; statement
leave; statement
quit; statement
int main()
{
int k;
for(;;)
{
printf("TESTING\n");
break;
}
return 0;
}
TESTING
Compiler error
None of the above
int main()
{
int k;
for (printf ("FLOWER "); printf ("YELLOW "); printf("FRUITS "))
{
break;
}
return 0;
}
FLOWER FRUITS
FLOWER YELLOW
FLOWER YELLOW FRUITS
For(x=0; x=3; x++)
Four times
Forever
Never
for
while
do while
switch
