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;
相關文章
相關標籤/搜索