Question: 1. Write a C program that will print the sizes and ranges of common data types char, short int, int, long int, long long int,
1. Write a C program that will print the sizes and ranges of common data types char, short int, int, long int, long long int, unsigned char, unsigned short int, unsigned int, unsigned long int, unsigned long long int, float, and double. Your program's output should be like the following: | Data Type I Size (in bytes) I Minimum Maximum I char 11 1 short int 12 (additional data types goes here) 10 1-32768 255 32767 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
