题目内容

若有以下程序:void sum(int *a){a[0]=a[1];}int main( ){int aa[10]={1,2,3,4,5,6,7,8,9,10},i;for(i=2;i>=0;i--)sum(&aa[i]);printf("%d\n",aa[0]);return 0;}程序运行后的输出结果是()。

A. 4
B. 3
C. 2
D. 1

查看答案
更多问题

若有以下程序:int main(){char a;char *str=&a;strcpy(str,"hello");puts(str);return 0;}程序运行后的输出结果是()。

A. hello
B. null
C. h
D. 发生异常

局方需要查阅或分析快速存取记录器(QAR)或等效设备的原始数据时仅需要上报原始数据即可。

A. 对
B. 错

合格证持有人按周上报飞行品质监控所的结果。

A. 对
B. 错

非民航专业人员必须通过航空基础知识中所有课程后可从事飞行品质监控工作。

A. 对
B. 错

答案查题题库