结构体数组和结构体链表
结构体数组和结构体链表基本操作
结构体数组
//结构体数组
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
//结构体
struct Student{
int num;
char name[10];
int score;
};
int main()
{
struct Student student[10];//结构体数组
int n;
scanf("%d\n",&n);
for(i
原创
2021-10-08 23:37:37 ·
950 阅读 ·
0 评论