>>9
It is defined in UAC in ANSI C.
And the story is just to make it more interesting. But you're right, nobody will use it.
Name:
Anonymous2012-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.