Pre-Test
- a) What is the way to suddenly come out of or quit any Loop in C Language?
- Loops in C Language are implemented using?
- What is the output of C Program?
- Which keyword can be used for coming out of recursion?
- Choose a right C Statement.
continue; statement
break; statement
leave; statement
quit; statement
while block
for block
do while block
All of the above
int main()
{
while(true)
{
printf("RABBIT");
break;
}
return 0;
}
RABBIT is printed unlimited number of times.
No output
Compiler error
return
break
exit
both A and B
Loops or Repetition block executes a group of statements repeatedly.
Loop is usually executed as long as a condition is met
Loops usually take advantage of Loop Counter
All of the above
