Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ANSI C Puzzle

Name: PR 2012-11-14 18:28

Name: Anonymous 2012-11-15 9:03

I think it is because of widening of the short during the comparison. I think this is because negative integers are bigger in length , so the unsigned short is converted to whatever length the signed int is instead of what you expected to happen.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List