Signed and Unsigned Variables : Data Type « Data Type « C Tutorial






Signed        Range             Unsigned           Range
char          -128 to 127       unsigned char      0 to 255
int           -32768 to 32,767  unsigned int       0 to 65,535
long          -2,147,483,648    unsigned long      0 to 4,294,967,295 to 2,147,483,647








2.1.Data Type
2.1.1.What is a data type
2.1.2.Introduction to Data Types
2.1.3.C Numeric Data Types
2.1.4.Use unsigned variables
2.1.5.Signed and Unsigned Variables
2.1.6.Get maximum and minimum values of data type
2.1.7.Multiple declarations