+ 2
What is the difference b/w signed and unsigned integer datatype?
2 odpowiedzi
+ 6
Signed int - As the name says, it can be positive or negative or zero.
Unsigned int - As the name says, it cannot be negative.
As number of values are same, signed int varies from -2147483648 to +2147483647 whereas unsigned int varies from 0 to 4294967295.
+ 4
signed int: from −2.147.483.648 to 2.147.483.647
unsigned int: from 0 to 4.294.967.295