+ 1

Unsigned and signed int

what is that and how to use it???

14th Dec 2016, 2:20 AM
Fluffy Rabbit
Fluffy Rabbit - avatar
1 ответ
+ 8
Signed int allows for negative values. It ranges between -2,147,483,648 and 2,147,483,647. Unsigned int only has positive values, so because of this, it has a higher maximum positive value. It ranges between 0 and 4,294,967,295. You can apply unsigned to longs and shorts, too.
14th Dec 2016, 4:04 AM
Tamra
Tamra - avatar