Signed/Unsigned Int
Suppose we had a 4-bit word, then
int x;
x could have range 0 to 7 positive
and -8 to -1 negative
unsigned int x;
x has range 0 to 15 only.
Previous slide
Next slide
Back to first slide
View graphic version