Signed:
6 = 6
-1 = -1
Unsigned:
6 = 6
-1 = 4294967295
-1 < 6
4294967295 > 6
You have implicit coercion going on.
-1 6 ?? comparing negatives with positives = wierd
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement