The C language standard C99 standard specifies the minimum f

The C language standard (C99 standard) specifies the minimum field width of each variable type. The actual size of the variable type varies by implementations. Find out the minimum size of the following variable types in terms of bytes char short signed short int int long unsigned long int long long unsigned long long float double

Solution

1)char - 1 bytes
2)short - 2 bytes
3)signed short int - 2 bytes
4)int - 4 bytes
5)long - 8 bytes
6)unsigned long int - 8 bytes
7)long long - 8 bytes
8)float - 4 bytes
9)double -8 bytes

 The C language standard (C99 standard) specifies the minimum field width of each variable type. The actual size of the variable type varies by implementations.

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site