What will be the result of applying sizeof operator?
int a = 3;
int b = sizeof(a++);
cout << a << b << endl;
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
Sign Up Now
or Subscribe for future quizzes