Friday, July 27, 2012

difference between signed int and unsigned int (signed int vs unsigned int)

Signed integer can store positive value as well as negative value while unsigned integer can store only positive value.
For signed integer the range is -32768 to 32767 while for unsigned integer the range is: 0 to 65535.

No comments:

Post a Comment