#include<stdio.h>
int main(int argc, char* argv[])
{
int a = 10;
float b = 20;
double c = 30;
long long d = 40;
//输出单位为占用字节数
printf("%d", sizeof(a));//4
printf("%d", sizeof(b));//4
printf("%d", sizeof(c));//8
printf("%d", sizeof(d));//8
return 0;
}