Daily bit(e) of C++ | Integral promotionsDaily bit(e) of C++ #302, Integral promotions of operands.Šimon TóthOct 30, 20232ShareIntegral operands go through promotion and conversion before an operator is evaluated.Promotion is applied to operands of lower rank than int (bool, char, short). The operands are promoted to int or unsigned (if int can't represent all values).Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe