题目内容

以下错误的描述是()。

A. 函数的调用可以出现在执行语句中
B. 函数的调用可以出现在一个表达式中
C. 函数的调用可以为一个函数的实参
D. 函数的调用可以作为一个函数的形参

查看答案
更多问题

现有如下程序#include"stdio.h"intfun(intx){printf("x=%d\n",++x);}intmain( ){fun(12+5);return0;}则程序的输出结果是( )。

A. x=12
B. x=13
C. x=17
D. x=18

有以下程序int fun(int a,int b){if(a>b)return(a);else return(b);}main( ){int x=3,y=8,z=6,r;r=fun(fun(x,y),2*z);printf(“%d\n”,r);}程序运行后的输出结果是( )。

A. 3
B. 6
C. 8
D. 12

有以下程序,执行后输出的结果是()。voidf(intx,inty){intt;if(x

A. 3,4,5
B. 5,3,4
C. 5,4,3
D. 4,3,5

[音频]Dialogue 1(M= Mary S= Steven)S: It is a fine day, isn’t it?M: Yes, I like the weather in the city. By the way, I am from _________________ Province. My name is ________. Nice to meet you.S: Nice to meet you, too. I am Steven from _____________ Province. I major in___________________. Which department are you in?M: I am in the Department of ______________ and I am a freshman on the campus. How about you?S: I have been studying here for two years.M: Really? Could you do me a small favor and show me around? I want to take a tour of the campus.S: No problem. Let me show you around.[音频]Dialogue 2(D=Daisy S=Simon)S: Hi, Daisy!D: Hi, Simon. Nice to meet you again.S: I hope you are settling in at school!D: I am! I’ve made lots of friends and I really enjoy my ______________.S: Good! Me too! By the way, you didn’t tell me what you are studying here.D: Didn’t I? I’m doing ___________________________.S: Really? That’s great. You hope to join a company after graduating?D: Maybe. My parents moved to Canada the year I was born. We are living in Toronto. I suppose I might get a job in Toronto when I graduate. It’s _______________ to say really.S: What about your friend Zoe?D: She’s from Australia. She lives in Sydney. Her father runs a hotel business there and she isstudying a degree in accounting.S: Accounting? Really? She must be very good at maths.D: I guess so. What about you, Simon?S: I’m __________________________.D: Great! So I’ll know who to call if I ever need a lawyer.S: Sure. You’re welcome to call anytime.

答案查题题库