Sunday 6 February 2011

short int in c




Size
of short is two byte in the 16 bit compilers like turbo c++, Borland c++ as
well as 32 bit compilers like Linux gcc compiler. In Turbo c complier size of
both short int and int is two byte. Hence there is not so importance of short
int Turbo c compiler but in Linux gcc compiler size of short int is two byte
while size of int is four byte. Since memory is too costly, hence we generally
use

No comments:

Post a Comment