【查询变量x所分配的字节数】#include<stdio.h>int main(){ struct { float k; char c[10]; }x; printf("%d\n",sizeof(x)); return 0;}