Data Type Modifiers in C Programming Language
Notes:
Data Type Modifiers in C Programming Language
Data type Modifiers:
Data type modifiers are used to modify the properties of primitive or basic data types (except float and void data types) according to application requirements; so that we can be able to precisely utilize the computer memory.
With the help of data type modifiers we can
modify the size (i.e. the amount of memory to be allocated)
modify the sign (i.e. decide only +ve or both +ve and –ve values can be stored)
There are 4 data type modifiers:
short
long
signed (is the default modifier for any data type)
unsigned
Note: if you modify the size or sign of primitive data types then the possible range of values can be stored also changes.