#include<stdio.h> struct mine{int qa,qb,qc;}; main() {struct mine s[2]={{1,2,3},{4,5,6}}; int answer; an

admin2010-04-27  29

问题 #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("%d\n",answer);
   }
   程序运行结果是:______

选项

答案5

解析  该程序是将结构体数组s[0].qa=1和s[1].qb=5相乘并输出结果。
转载请注明原文地址:https://jikaoti.com/ti/vxtaFFFM
0

最新回复(0)