编辑代码

#include <stdio.h>
int main () {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
    printf("char =%d\n", sizeof(char));
    printf("short =%d\n", sizeof(short));
    printf("int =%d\n", sizeof(int));
    printf("long int =%d\n", sizeof(long int));
    printf("float =%d\n", sizeof(float));
	printf("double =%d\n", sizeof(double));
    return 0;
}