CPA practice question 13 of 30

What is the output of the program given below? #include using namespace std; int main (int argc, const char * argv[]) { enum state { ok, error, warning}; enum state s1, s2, s3, s4; s1 = ok; s2 = warning; s3 = error; s4 = ok; cout

Full set: 220 questions
Answer options
A: 1234
B: compilation fails
C: 0210 Correct answer
D: 1322
Correct Answer:
C. 0210
Scroll to Top