posted 18 years ago
int are 32 bits signed integers, ok ?
So in hex format, int range is from 0x00000000 to 0xffffffff
Positives int values are in range 0x00000000 to 0x7fffffff
Negatives int values are in range 0x80000000 to 0xffffffff
0xffffffff is the biggest negative int, so it's -1.
Regards,<br />Seb<br /> <br />SCJP 1.4