C语言基础 sizeof函数查看变量类型占多少字节

2024-11-02 08:27:15
推荐回答(1个)
回答(1):

#include
int main()
{printf("%d %d %d %d\n",sizeof(int),sizeof(long),sizeof(float),sizeof(double));
return 0;
}