摘要:
怎么对齐的? 是对齐他占用内存的倍数, 看下面的代码 int main() { typedef struct Person { char *name; int age; char *id; } Person; struct Person person = {.name="bennyhuo", .id 阅读全文
摘要:
定义一个结构体 struct Company { char *name; char *id; char *location;} 初始化 1 struct Company company = {.name="imooc", .id="1212121"}; 怎么省略struct呢 声明的时候可以这么声明 阅读全文