C語言結構體初始化的三種方法

直接上示例了數組 #include <stdio.h> struct student_st { char c; int score; const char *name; }; static void show_student(struct student_st *stu) { printf("c = %c, score = %d, name = %s\n", stu->c, stu->
相關文章
相關標籤/搜索