Daniel Vik (via Mike Ash): Considering the only change that was made was to change the type, the different output may be a bit confusing. But there is a very good reason for the behavior, and you guessed, it is spelled integer promotion, and the variables a and b are promoted to integer before the … Continue reading C Language Quirks
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed