C语言,这道题填什么呀,小白…求大佬告知( •͈ᴗ⁃͈)ᓂ- - -♡?
include"stdio.h"#include"string.h"structstu{intno;charname[10];intfs[5];floatave;};①s...
include "stdio.h"
#include "string.h"
struct stu
{
int no;
char name[10];
int fs[5];
float ave;
};
① s1,*f;
void main()
{
f= ② ;
f->no=1;
strcpy(f->name ,"smith");
printf("%d,%s",f->no ,f->name );
} 展开
#include "string.h"
struct stu
{
int no;
char name[10];
int fs[5];
float ave;
};
① s1,*f;
void main()
{
f= ② ;
f->no=1;
strcpy(f->name ,"smith");
printf("%d,%s",f->no ,f->name );
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询