16 0 65,535
int 4
32 -2,147,483,648 +2,147,483,647
unsigned int 4
32 0 4,294,967,295
long int 4
32 -2,147,483,648 +2,147,483,647
unsigned long int 4
32 0 4,294,967,295
Kun ZHANG (11/27/2019)
CIE – Software Design Group (SDG)
– Most modern ones don't apply this limit though.
Kun ZHANG (11/27/2019)
CIE – Software Design Group (SDG)
5
Variable Names (Conventions)
• Example: Some Valid Variable Names
16 32,768 32,767
unsigned short int 2
16 0 65,535
int 4
32 -2,147,483,648 +2,147,483,647
unsigned int 4
32 0 4,294,967,295
long int 4
32 -2,147,483,648 +2,147,483,647
• C recognizes upper and lower case characters as being different.
• Finally, you cannot use any of C's keywords like main, while, switch etc as variable names.