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