Which of the following statement is correct about the program given below? #include enum xyz { a, b, c }; int main() { int x = a, y = b, z = c; int &p = x, &q = y, &r = z; p = ++x; q = ++y; r = ++c; cout<< p << q << r; return 0; }
Correct Answer: It will result in a compile time error.
Discussion & Comments