Skip to content

Tag Archives: C-C Quiz – 105

Which of the following is correct with respect to “Jump Statements” in C? (A) goto (B) continue (C) break (D) return (E) All of the… Read More
A typical “switch” body looks as follows: switch (controlling_expression) {   case label1:     /*label1 statements*/     break;   case label2:     /*label1 statements*/     break;   default:     /*Default statements*/ } Which… Read More
What would happen when we compile and run this program? #include "stdio.h" int main() {   int i;    goto LOOP;   for (i = 0 ; i… Read More
In the context of “break” and “continue” statements in C, pick the best statement. (A) “break” can be used in “for”, “while” and “do-while” loop… Read More
Choose the best statement with respect to following three program snippets. /*Program Snippet 1 with for loop*/ for (i = 0; i < 10; i++)… Read More