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 / 153.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  556KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: ANSI c and Integer Types Running the Program Contents of limits.h Constant Values CHAR BIT CHAR MAX 127 CHAR NIW 128 SCHAR MAX 127 SCHAR NIW 128 INT MAX 214748 3647 INT NIW -2147483648 LONG MAX 2147483647 LONG NIW -2147483648 SHRT MAX 32767 SHRT MIN -32768 UCHAR MAX 255 UINT MAX 4294967295 ULONG MAX 4294967295 USHRT MAX 65535 Learning Activities If your compiler conforms to the ANSI standards compile and execute the program I limits.c. Inspect the output for any surprises. Reconcile the results with the results of the other programs in this section (especially with the output from ints.c) If your compiler conforms to the ANSIC standards inspect copy JO the header file limits.h to see the other values that are declared in that file. An Example The program factors .c in Example 3-6 applies s ...