Question: write a c program. 2 (35 points). Write a program that uses the sizeof operator to determine the sizes in bytes of the various data

write a c program.
2 (35 points). Write a program that uses the sizeof operator to determine the sizes in bytes of the various data types on your computer system. Write the results to the file "datasize.dat" so you may print the results later. The format for the results in the file should be as follows (the type sizes on your computer might be different from those shown in the sample output): Data type char unsigned char short int unsigned short int int unsigned int long int unsigned long int float double long double Size 1 4 4 4 4 4 16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
