Question:

What is output of the this program?

    #include <iostream>
    using namespace std;
    int main()
    {
        int i;
        enum month {
            JAN = 1, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC
        };
        for (i = MAR; i <= NOV; i++)
            cout << i;
        return 0;
    }

 

Answers:


Keywords:

© 2017 QuizBucket.org