A-A+
#include<stdio.h>struct mine{int qa qb qc;};ma
问题详情
#include<stdio.h>
struct mine{int qa,qb,qc;};
main()
{struct mine s[2]={{1,2,3},{4,5,6}};
int answer;
answer=s[0].qa%s[1].qb;
printf("%dn",answer);
}
程序运行结果是:______
参考答案
正确答案:
5[解析] 该程序是将结构体数组s[0].qa=1和s[1].qb=5相乘并输出结果。