有关c语言中,结构体知识?

为什么编译不出来呢?希望可以帮我一下,谢谢。

emmm,对C已经不熟悉了,结构体的话,可能不一定能直接赋值。
我知道可能可行的方法是:
People *people=(People *)malloc(sizeof(People));
people->name=″san″;
people->age=26;
people->height=175;
people->weight=80;
温馨提示:答案为网友推荐,仅供参考
相似回答