+ 3

Choose one option and give the reason for that.

#include<iostream.h> int main() { int x = 80; int y& = x; x++; cout << x << " " << --y; return 0; } A. The program will print the output 80 80. B. The program will print the output 81 80. C. The program will print the output 81 81. D. It will result in a compile time error.

29th Aug 2017, 4:09 PM
Nidhi Undirwade
Nidhi Undirwade - avatar
1 Antwort
+ 5
D because & will be written before variable like &y
29th Aug 2017, 5:55 PM
Maryam Ansari
Maryam Ansari - avatar