Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C++ Programming
»
References
Which of the following statement is correct about the program given below? #include<iostream.h> int main() { int x = 80; int y& = x; x++; cout << x << " " << --y; return 0; }
The program will print the output 80 80.
The program will print the output 81 80.
The program will print the output 81 81.
It will result in a compile time error.
Show Answer
Correct Answer:
It will result in a compile time error.
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment