Home » C++ Programming » References

Which of the following statement is correct about the program given below? #include enum curioustab { a=1, b, c }; int main() { int x = c; int &y = x; int &z = x; y = b; std::cout<< z--; return 0; }

Correct Answer: The program will print the output 2.

← Previous Question Next Question→

More Questions from References

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion