Originally Posted by
laserlight
Can't find that on that page. What I did find, under Data structures -> Primitive data types -> Integer types,ard integer types" table mine except that it includes _Bool and char.
What you said in post 2 is given in page integer types" table
suppose we want to store number -32768 to 32767
Code:
#include<stdio.h> int main(void)
{
short a = 32767;
printf("max number = %d \n", a);
printf ("size of a = %d", sizeof (a));
return 0;
}
max number = 32767
size of a = 2
in my example, I am just using qualifier to store data but I haven't used data type
I still don't know what to use and when it should use ?