Home / MCQ Bank / Computer
Computer Classes And Objects In C Plus Plus Difficulty: Medium

What will be the output of the following C++ code? #include <iostream> using namespace std; int main() { int i; enum month { JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,DEC }; for (i = JAN; i <= DEC; i++) cout << i; return 0; }

Select the correct option to test your answer:

More Computer Questions

The data elements in the structure are also known as what? Software programs that close potential security breaches in an operating system are known as: The line of code in R language should begin with a . . . . . . . . In C, which statement is used to exit the current iteration of a loop and continue with the next iteration? What will be the output of the following Python statement? >>>"abcd"[2:]