What will be the output of the following C++ code?
#include <stdio.h>
#include<iostream>
using namespace std;
int main()
{
int x = 5, y = 5;
cout << ++x << --y << endl;
return 0;
}
#include <stdio.h>
#include<iostream>
using namespace std;
int main()
{
int x = 5, y = 5;
cout << ++x << --y << endl;
return 0;
}A. 55
B. 64
C. 46
D. 45
Answer: Option B

Join The Discussion