Question: drom d bofe CPE 325: Embedded Systems Laboratory Laboratory Assignment #2 [50 pts) Assignment Write a C program that will print the sizes and ranges
drom d bofe CPE 325: Embedded Systems Laboratory Laboratory Assignment #2 [50 pts) Assignment 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: 1. l Data Type l Size (in bytes) I Minimum I Maximum I char 1 255 1 32767 l short int 1-32768 I (additional data types goes here)I 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. 2. Write a C program that declares and initializes two integer arravs of equal size as shown
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
