Day#56 'C' Coding Challenge

Day#56 'C' Coding Challenge

What are the various qualifiers in C language?

Qualifiers in C language are something used with existing data types in C language to help alter the size of the data type or sign of the data type.

The various qualifiers used in C language are,

1. long
2. short
3. signed
4. unsigned
5. const
6. volatile

qualifiers can be used with integer data type similar to long int, short int. qualifiers cannot be used with float data type.

Example usage of qualifiers are,

signed int var;   // indicates signed integer
unsigned int var;   // indicates unsigned integer
cont int var;    // constant integer data type

Post a Comment

0 Comments