SAF
  • 2024-12-292024.12.29-3 结构体与数组
    一个案例,讲明定义用法:#include<stdio.h>#include<string.h>structStudent{      intnum;   charname[32];   intage;   charsex;   charaddr[32];   doublescore;   };intmain(){   intarr[3]={1,2,3};