數據結構8-順序查找的實例

程序實現用一個結構體數組存放學生的記錄,用順序查找輸出1001編號學生的具體信息,代碼以下所示:數組 #include"stdio.h" typedef struct student{ int id; /*學生編號*/ char name[10]; /*學生姓名*/ float score; /*成績*/ }Student; int search(Student stu[],int n,i
相關文章
相關標籤/搜索