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.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты