Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are Qualifiers in the C language?

Tags:

c

qualifiers

I am reading some text at this url:

https://cs.senecac.on.ca/~btp100/pages/content/varia_p.html

In the section 'Qualifiers', they say:

"We can qualify the int type to be sure that it contains a minimum number of bits" .... A short contains at least 16 bits: ....

I don't understand this, what does "qualify the int type" mean and why "A short contains at least 16 bits".

Can anybody elaborate on this please? Thanks all.

like image 638
ipkiss Avatar asked Nov 30 '22 17:11

ipkiss


1 Answers

Qualifier is an extra name given to either variables or functions , showing an extra quality or extra meaning for that variable or function. like Dr in Dr Arun Kumar

Qualifiers for variables are (TYPE qualifiers): signed, unsigned, long, short, long long, const, volatile, static, auto, extern, register

Qualifiers for functions are: static, extern, inline

like image 198
BIJU Avatar answered Dec 15 '22 05:12

BIJU