Why is 'char - int' promotion, but 'char - short' is conversion (but not promotion)?
Why is 'char - int' promotion, but 'char - short' is conversion (but not promotion)?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/22421349/lida-cute)LiDa Cute
(stackoverflow.com/users/5740428/jan-schultke)Jan Schultke
(stackoverflow.com/users/298225/eric-postpischil)Eric Postpischil
(stackoverflow.com/users/9775098/noname)NoName
A special thanks goes out to the (https://stackoverflow.com/questions/76969417/why-is-char-int-promotion-but-char-short-is-conversion-but-not-promo)Stackexchange community
I wish you all a wonderful day! Stay safe :)
integer-promotion c++ type-conversion language-lawyer