Question: 1. Write a C program that will print the sizes and ranges of common data types char, float, int, long int, unsigned long int,

1. Write a C program that will print the sizes and ranges of common data types char, float, int, long int, unsigned long int, unsigned char, unsigned short int, unsigned int, long long int, unsigned long long int, short int, and double (In the same order). The program's output should be like the following: | Data Type Size (in bytes) | Minimum | Maximum | char | short int | 1 12 10 | 255 1 -32768 | 32767 | (additional data types goes here) Note: You should use definitions given in the limits.h and float.h header files for the ranges of data types. For float and double, display positive minimum value in Minimum column.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
