Q. What will be the output of the following C++ code?
Code:
#include <iostream>
using namespace std;
int main()
{
int a = 5;
float b;
cout << sizeof(++a + b);
cout << a;
return 0;
}
β
Correct Answer: (D)
4 5