Vidyalelo
C++ Programming · Q73

Classes and Objects in C++

Programming · C++ Programming · question 73

Q73

What will be the output of the following C++ code? #include #include using namespace std; int main() int x = 5, y = 5; cout << ++x << --y << endl; return 0;

A.
55
B.
64
Answer
C.
46
D.
45

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board