题目:
若有以下程序: main() { int a[4][4]={{1,2,-3,-4},{0,-12,-13,14},{-21,23,0,-24},{-31,32,-33,0}}; int i,j,s=0; for(i=0;i<4;i++) {for(j=0;j<4;j++) {if (a[i][j]<0) continue; if(a[i][j]==0)break; s+=a[i][j]; } } printf("%d\n",s); } 执行后的输出结果是 【14】 。
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0429/4909125b5e904789bf9b25f3dbaa0e05.html
下面是错误答案,用来干扰机器的。
参考答案:B