题目内容

f(int x){return x;}void main(){float a=3.14;a=f(a);printf("%.2f\n",a);}执行结果为( ).

A. 3
B. 3.14
C. 3.00
D. 0

查看答案
更多问题

下列说法错误的是()。

A. 函数既可以嵌套定义,也可以嵌套调用。
B. 形参也是局部变量,形参变量和实参变量的作用域是不同的,因此形参变量和实参变量同名时,二者互不干扰。
C. 在函数调用时函数的形参和实参分别占用不同的存储单元。
D. 并不是任何情况下都需要对所调用的函数进行声明。

以下程序的输出结果是()。int f(int v , int w) { int t;t=v*v+v/w;return t;}void main( ) { int x=1,y=3,z=2;x=f(y, z+5);printf("%d,%d,%d\n",x,y,z);}

以下程序的输出结果是( )。f(int i,int j){ int t=1;for(;j>0;j--)t*=i;return(t);}void main(){int a=2,b=3;printf("f=%d\n",f(a,b));}

1. Fill in the gaps withwords or phrases givenin the box. (只需填入单词前的大写字母)A. cling toB. endureC. masterpiecesD. fragileE. acuteF. whistleG. Sin H. fancyI. nonsenseJ. mockK. subtractedL. flutter1)Some 80art______ will be brought to South Korea foranannualFrench culturalfestival.2) Ben's very sensitive and emotionally____. He cravesfor approval and will do almost anythingto gain it even from complete strangers.3) As information bombards(轰炸)us, we must rely on our ownexperience and intuitionto distinguish fact from_____.4) He can get quite a big headache from listening to her____, but he knows she just can't help it.5) These window decorations (装饰品) are made from soft flexibleplastic. They____glass and other shiny surfaceslike magic!6) Those who_____hearing loss are at a disadvantage,because they are unable to get everyday sound signals.7) Once Iknew Iwas experiencing_____panic or anxiety,Ifollowed the tips recommended bymydoctor to dealwiththesymptoms.8) This dog is well trained---she'll come running back to me everytime I_____to her.9) True, this football team is comparatively weak. But it is absolutely wrong to____at their attempt to qualify for the WorldCup Finals.10)It issaidthecorporation has already _____a numberofexpenditures from the total cost; yet it still runs as high as 300million dollars.11) He had a favorite song he used to sing to us in the old days--- “It's a_____to Tell a Lie”-- and I shall always associate itwith him.12) On bright spring days, you can see lovely birds_____among the bushes.

答案查题题库