Home / MCQ Bank / Computer
Computer Control Structures Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> int main() { int i = 0, j = 0; l1: while (i < 2) { i++; while (j < 3) { printf("loop\n"); goto l1; } } }

Select the correct option to test your answer:

More Computer Questions

Which of the following is not a template library? What is the purpose of the "is" keyword in C#? Which one of the following data structures are preferred in database-system implementation? What will be the output of the following R code? > set.seed(10) > x <- rbinom(100, 1, 0.5) > str(x) Which of these methods of class String is used to separate a substring from a String object?