Home » C++ Programming » References

Which of the following statement is correct about the program given below? #include<iostream.h> 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; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!