#include <stdio.h>
void main()
{
printf("An int is %d bytes\n",sizeof(int));
printf("A short is %d bytes\n",sizeof(short));
printf("A long is %d bytes\n",sizeof(long));
printf("An unsigned int is %d bytes\n",sizeof(unsigned int));
printf("An unsigned short is %d bytes\n",sizeof(unsigned short));
printf("An unsigned long is %d bytes\n\n",sizeof(unsigned long));
printf("A float is %d bytes\n",sizeof(float));
printf("A double is %d bytes\n\n",sizeof(double));
printf("A char is %d bytes\n",sizeof(char));
printf("An unsigned char is %d bytes\n",sizeof(unsigned char));
}
void main()
{
printf("An int is %d bytes\n",sizeof(int));
printf("A short is %d bytes\n",sizeof(short));
printf("A long is %d bytes\n",sizeof(long));
printf("An unsigned int is %d bytes\n",sizeof(unsigned int));
printf("An unsigned short is %d bytes\n",sizeof(unsigned short));
printf("An unsigned long is %d bytes\n\n",sizeof(unsigned long));
printf("A float is %d bytes\n",sizeof(float));
printf("A double is %d bytes\n\n",sizeof(double));
printf("A char is %d bytes\n",sizeof(char));
printf("An unsigned char is %d bytes\n",sizeof(unsigned char));
}