题目内容

Which of the following will you hear when one player has won the game?

A. Check mate.
B. Check.
C. Shah mat.
D. The king is dead.

查看答案
更多问题

【B14】

A. pay
B. spare
C. take
D. spend

Why did the writer say that he would have a long night?

A. He wondered how long he had to wait for the next bus.
B. No driver would give him a ride.
C. He didn't know the mutes.
D. He perhaps would have to take a taxi.

下列条件语句中,输出结果与其他语句不同的是

A. if(a) printf("%d\n",x);else printf("%d\n",y);
B. if(a==0) printf("%d\n",y);else pfintf("%d\n",x);
C. if(a!=0) printf("%d\n",x);else printf("%d\n",y);
D. if(a==0) printf("%d\n",x);else printf("%d\n",y);

有以下程序
#include<stdio.h>
#define N 4
void fun(int a[][N],int b[])
{ int i;
for(i=0;i<N;i++)b[i]=a[i][i]-a[i][N-1-i];
}
main()
{ int x[N][N]:{{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}},y[N],i;
fun(x,y);
for(i=0;i<N;i++) prinff("%d,",y[i]);printf("\n");
}
程序运行后的输出结果是

A. -12,-3,0,0,
B. -3,-1,1,3,
C. 0,1,2,3,
D. -3,-3,-3,-3,

答案查题题库