An integer might be two bytes on one machine and four on another,but on either computer it is always the same, day
in and day out.
A short integer is two bytes on most computers, whereas a long integer is usually four bytes, and an integer can be
either of two or four bytes.
The size of an integer is determined by the processor(16bit,32bit or 64 bit) and the compiler you use. On a 32-bit
computer with an Intel Pentium processor, using modern compilers, integers are four bytes.
A char variable is most often one byte long.
signed and unsigned:
whether signed or unsigned, are stored in the same amount of space.
For example, an unsigned short integer number range from 0 to 65535, a signed short range from -32768 to 32767.
阅读(1355) | 评论(0) | 转发(0) |