What will be the result of applying sizeof operator?
int a = 3;
int b = sizeof(a++);
cout << a << b << endl;
Explanation
sizeof calculates the size of type in bytes on the platform, so the result of the calculation will depend on the platform on which the code is compiled.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes