Question
1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
int i;
6.
enum month {
7.
JAN = 1, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC
8.
};
9.
for (i = MAR; i
What is output of the this program?
1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
int i;
6.
enum month {
7.
JAN = 1, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC
8.
};
9.
for (i = MAR; i
Answer: Option C
Was this answer helpful ?
we are getting the values from march to november and printing its concern number.
Was this answer helpful ?
More Questions on This Topic :
Question 9.
Identify the incorrect option.
....
Submit Solution