使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
#include
typedef struct S
{char name[9];char sex;float score[2];} STU;
void f(STU a)
{
STU b={"zhao",'m',85.0,90.0};
int i;
strcpy(a.name,b.name);
struct STU{
char name[10];int num;
};
void f1(struct STU c)
{
struct STU b={"Three",2042};
c=b;
}
void f2(struct STU *c)
struct STU b={"Two",2044};
*c=b;
int main(void)
struct STU a={“One",2041},b={"Two",2043};
struct S{int n;int a[20];} ;
void f1(struct S *ps)
for(i=0;in-1;i++)
ps->a[i]=ps->a[i]+i;
}
int main()
struct S s={10,{2,3,1,6,8,7,5,4,10,9}};
f1(&s);
for(i=0;iprintf("%d,",s.a[i]);
return 0;
void f2(struct S s)
for(i=0;is.a[i]=s.a[i]+i;
f2(s);
int d=1;
void fun(int q)
int d=5;d+=q++;printf("%d",d);
int a=3;
int fun(int k)
if(k<1) return 0;
int fun(int a,int b)
if(b==0) return a;