Thursday, 15 March 2012

Difference between an unsigned integer and signed integer (C Programming)?

Reserved word for integer is "int" in C programming, and reserved word for unsigned integer is "unsigned int".

int has a range of -32768 - 32767
unsigned int has a range of 0 - 65535

No comments:

Post a Comment