【单选题】Given a program as follows, the output will be( ) if 12 is keyed in when the program is performed. main() { int x,y; scanf(“%d”,, &x); y=x>12? x+10:x-12; printf(“%d\n”,y); }
【简答题】运行程序,查看结果。 #include int main() { int i,j,t,a[4][4]={11,22,33,44,1,2,3,4,10,20,30,40,12,22,32,42}; /* list the array a[][] */ for(i=0;ia[%d][%d]=%-2d ",j,i,a[j][i],i,j,a[i][j]); } if(i>0) puts(""); }...