home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 141.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  661KB  |  2550x3300
Labels: book | clock | crt screen | reckoner | stairs
OCR: Character Variables 41 Figure 3-3 Keeping these ideas in mind we will now look at the specifications regarding the size and range of the integer types, int, short int, and long int. The value returned by sizeof( int the number of bytes in the com- puter's word Most computers in use today have prrd size of bytes (32 bits), but some even have byte (64 bit) words. The following table shows the range of in different byte sizes. Computer word size Minimum int Maximum int bits 2 6 bits 32768 32767 32 bits -21 47483648 2147483647 is an There 18.8 "wrap-around" effect at each end of the range of values for any of hap- the integer types. This information is often very useful for debugging programs. Whenever positive numbers are arithmetically manipulated and the result an an be unex xpected negativ ...