Home / MCQ Bank / Computer
Computer Control Structures

What will be the output of the following C code? #include <stdio.h> int main() { int i = 0; while (i < 2) { if (i == 1) break; i++; if (i == 1) continue; printf("In while loop\n"); } printf("After loop\n"); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • After loop

Related Computer Questions

A ______ is an operation on the stream that can transform the stream. Which of the following could cause data to be unavailable? Which of the following is not true about bucket sort? goto can be used to jump from main() to within a function. Which of the following is valid body of split function?