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

What will be the output of the following C code? #include <stdio.h> int main() { printf("%d ", 1); l1:l2: printf("%d ", 2); printf("%d\n", 3); }

Select the correct option to test your answer:

More Computer Questions

Which storage device has the largest capacity in MB's? Arrange the following data type in order of increasing magnitude sbyte, short, long, int. By what function we can create data frames? What will be the output of the following C++ code? #include <iostream> #include <exception> using namespace std; int main () { try { int* myarray = new int[1000]; cout << "allocated"; } catch (exception& e) { cout << "Standard exception: " << e.what() << endl; } return 0; } What does this code do? Code: @media only screen and (max-width: 768px) { class*="col-"] { width: 100%; } }