有以下函数void fun(int a[3][3]){ int i=0,j=0; for(i=0; i<3; i++) for(j=0; j<3; j++) { if(a[i][j]%2==1) a[i][j]=1; }}执行如下程序片段 int a[3][3]= {1,2,3,4,5,6,7,8,9}; int i; fun(a); for(i=0; i<3; i++) printf("%d",a[i][i]);程序运行后的输出结果是
A.
111
B.
159
C.
359
D.
222
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】读短文,填表格 。 I'm Jack. I usually get up at 6: 30. Then I eat breakfast at 7: 00. I do morning exercises at 8: 00. I usually eat lunch at 11: 50. I usually eat dinner at 7: 00 in the evening. At 9: 15, I ...
【简答题】读短文,填表格。 I'm Jack. I usually get up at6:30. Then I eat breakfast at 7:00. I do morning exercises at 8:00. I usually eat lunch at 11:50. I usually eat dinner at 7:00 in the evening. At 9:15 , I go to ...