- #include <stdio.h>
- void main ()
- {
- printf("Variables of type int use %d bytesn", sizeof(int));
- printf("Variables of type float use %d bytesn", sizeof(float));
- printf("Variables of type double use %d bytesn", sizeof(double));
- printf("Variables of type unsigned use %d bytesn", sizeof(unsigned));
- printf("Variables of type long use %d bytesn", sizeof(long));
- }