c语言中char的%s与%c的输出,例题分析
c语言中char的%s与%c的输出,例题分析
日期:2018-12-22 17:22:50 人气:1
#include#define N 3struct student{ int num; char name[6]; char sex[5]; int age; double grade;};struct student stu[N];int main(){ struct student *point[N]; int i; for(i=0;i<N;i++) { point[i]=&stu[i]; } for(i=0;i<N;i++) { scanf("%d%s%s