C经典 结构体数组初始化

#include <stdio.h> int main(int argc, const char * argv[]) { //1 struct Student{ int age; char *name; }stu[3]={{22,"peter"},{33,"tom"},{23,"tiger"}}; for (int i = 0;
相关文章
相关标签/搜索