Why 'char - int' is promotion , but 'char - short' is conversion (but not promotion)?
Why 'char - int' is 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
(stackoverflow.com/users/12424131/steven-dickinson)Steven Dickinson
A special thanks goes out to the (https://stackoverflow.com/questions/76969417/why-char-int-is-promotion-but-char-short-is-conversion-but-not-prom)Stackexchange community
I wish you all a wonderful day! Stay safe :)
c++ language-lawyer