皮皮学,免费搜题
登录
搜题
【单选题】
请指出出错行,并改正 给定程序modi.c中,fun函数的功能是:先从键盘上输入一个3行3列矩阵的各个元素的值,然后输出主对角线元素之积。 1) #include 2) int fun () 3) { int a[3][3] ,ji; 4) int i ,j; 5) ji=0; 6) for (i=0;i<3;i++) 7) { for (j=0;j<3;j++) 8) scanf("%d" a[i][j]); 9) } 10) for (i=0;i<3;i++) 11) ji=ji*a[i][i]; 12) printf("Ji=%d\n" ,ji);} 13) void main () 14) { fun (); }
A.
出错行序号:5  应改为: ji=1
B.
出错行序号:6  应改为:for(j=1;j<=3;j++)< /div>
C.
出错行序号:8  应改为:  scanf("%d,",&a[i][j]);
D.
出错行序号:11  应改为:ji*=a[i][i];
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】会计年度自公历1月1日起至12月31日止。( )
【多选题】确定成倍节拍施工工期的步骤分为( )。
A.
计算流水节拍
B.
计算流水步距
C.
确定专业工作队数
D.
绘制加快的成倍节拍流水施工进度计划图
E.
确定流水施工工期
【单选题】In a certain room, all except 18 of the people are over 50 years of age. If 15 of the people in the room are under 50 years of age, how many people are in the room?
A.
27
B.
30
C.
33
D.
36
E.
It cannot be determined from the information given.
【单选题】What happens many years later?
A.
Many years later, Charlie's family had another problem with the turkey. They stored it outside and it froze.
B.
Many years later, Charlie's family had another problem with the turkey.The turkey was eaten by the cat.
C.
Many years later, Charlie's family had another problem with the turkey. They stored it outside and it disappeared.
【单选题】广义的防盗系统应包括中控门锁、( )和报警系统。
A.
防盗传感器
B.
发动机控制单元
C.
执行元件
D.
指示灯
【简答题】会计年度自公历1月1日起至12月31日止。( )
【单选题】Her husband and her eldest son had been killed______.
A.
many years before
B.
many years since
C.
many years ago
D.
many years from now
【单选题】It was ____ I met Mr Green in Shanghai.
A.
many years that
B.
many years before
C.
many years ago that
D.
many years when
【判断题】带基准长度可以任意定制,不确定的 。
A.
正确
B.
错误
【简答题】短文改错﹙10分﹚ Though great progress have been made in science these years, there are still many people live in poor conditions. They make their lives by collecting or selling used things. Their children c...
相关题目:
关于我们
免责声明
版本记录
© 2019 pipixue.com 京ICP备20000060号-6