int main( void )
{ printf("%d\n\r"sizeof(short);
return -1;
}
prints out
2
Thats probably compiler dependant. But I have a feeling for the most part,
short only counts to 32787 or something like that. ints go to 2billion
something, and they are 4 bytes. Once again, compiler dependant, so yours
could be 4, where mine is 2.
Davion
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca