Which of the following statement is correct about the program given below? #include<iostream.h> int main() { int x = 10; int &y = x; x++; cout<< x << " " << y++; return 0; }
1.The program will print the output 11 12.
2.The program will print the output 12 11.
3.The program will print the output 12 13.
4.It will result in a compile time error
Answer:2
Posted Date:-2021-02-24 09:30:50