2 ms·
4/5, forgot that integer promotion is more complicated than what intuition would tell you. To be honest if was pretty obvious what the right answer was, but tr
by seba_dos1 7y ago
4/5, forgot that integer promotion is more complicated than what intuition would tell you.
To be honest if was pretty obvious what the right answer was, but tried to answer honestly anyway ;)
- ummonk 7y agoYeah I assumed short would be at least as big as a char and would this be comparing size of short against short. Didn’t realize it would get promoted to int.