单项选择题
以下所列的各函数首部中,正确的是 ______ 。
A.void play(var a:Integer,var b:Intege
B.void play(int a,
C.void play(int a,int
D.Sub play(a as integer,b as intege
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序: void sum(int * a) {a[0]=a[1];} main() { int aa[10]={1,2,3,4,5,6,7,8,9,10},i; for(i=1;i>0;i--)sum(&aa[i]); print( %d n ,aa[0]); } 程序运行后的输出结果是 ______。
A.4
B.3
C.2
D.1
点击查看答案&解析
单项选择题
有以下程序: main() { int x[8]={8,7,6,5,0,0},*s; S=x+3; printf( %d n ,s[2]); } 程序运行后的输出结果是 ______ 。
A.随机值
B.0
C.5
D.6
点击查看答案&解析
相关试题
以下程序是从终端读入数据到数组中,统计其...
若变量n中的值为24,则prnt函数共输出 ...
以下程序的输出结果是 【12】 。main(...
下面程序把从终端读入的文本(用@作为文本...
以下程序运行后的输出结果是 【15】 。...