Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What are the data type modifiers?
Some data types are to used to effect the characteristic of data object.These are called modifiers.Below i have shown you some modifiers:

Data type modifiers in C:

long: Forces a type int to be 4 bytes (32 bits) long and forces a type double to be larger than a double (but the actual size is implementation
defined).
short: Forces a type int to be 2 bytes (16 bits) long. 
unsigned: Causes the compiler (and CPU) to treat the number as containing only positive values. Because a 16-bit signed integer can hold values between �32,768 and 32,767, an unsigned integer
can hold values between 0 and 65,535. The unsigned modifier can be used with char, long, and short (integer) types.
Posted By: Name:Rajesh Kr URL: What are the data type modifiers?