编辑代码

#include <stdio.h>
int main () {
    printf("The size of short is %d bytes.\n",sizeof(short));
    printf("The size of int is %d bytes.\n",sizeof(int));
    printf("The size of long is %d bytes.\n",sizeof(long));
    printf("The size of long long is %d bytes.\n",sizeof(long long));
    printf("The size of double is %d bytes.\n",sizeof(double));
    return 0;
}