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->
相关文章
相关标签/搜索