Problem Analysis:
The problem is to print the size of char,float,double and long double data types in C.
The output is to print the size of the data types.
Algorithm:
1.start.
2.Print the size of characters ,float,double and long double .Assign the result as:
i.e. Size of char,size of the float and the size of the double.
3.End
Flowcharts:
fig: flowcharts to print the size of data types.
Codes:
Outputs:
Compiling , Debugging and testings
size of char = 1
size of float = 4
size of double= 8
size of long double=10