vak: (Default)
Serge Vakulenko ([personal profile] vak) wrote2021-10-16 03:45 pm

Загадка для знатоков Си++

Если сложить два bool, какой тип получится?

Или, что напечатает эта программа?
std::cout << sizeof(true + true);

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org