Hi Guys
I have a query regarding "sizeof" operator and it is related to the program:
{
int x;
x=sizeof (-32768);
printf("%d",X);
getch();
}
Then it's printing it's value as 4, But logically it should be 2 because the integer range is from -32768 to 32767.
==============================================
And my second question is why the range of int, float ,are always like -32768 to 32767 etc...
why it is not like -32768 to 32768, why there is a gap