/* A program to find out if the computer can store numbers larger than 32767 in an int. */ #include main () { /* One method to find the answer is to try computing a value beyond 32767, and seeing if it is printed correctly. We should try computing 32,768, the smallest integer beyong 32,767. */ int total; total = 30000 + 2768; printf("This computer can store numbers beyond 32,767 if the following\n"); printf("number is 32768: %d\n", total); }