sizeof是C语言中的运算符,用来测定类型或变量的长度 #include <stdio.h> int main() { printf("%d\t",sizeof(int)); return 0; } //输出是所占的字节数