题目内容

有以下程序void fun (int a,int b,int c){ a=456; b=567; c=678;}int main(){ int x=10, y=20,z=30;fun (x,y,z);printf("%d,/%d,%d\n",x,y,z);return 0;}输出结果是:()

A. 30,20,10
B. 10,20,30
C. 56,567,678
D. 678,567,456

查看答案
更多问题

以下程序运行后屏幕输出为()#includeint a=2,b=3;int max(int a,int b){int c;c=a>b?a:b;return(c);}main(){int a=4;printf("%d ",max(a,b));}

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

若有如下函数定义:int fun(){static int k=0;return ++k;}以下程序段运行后屏幕输出为( )int i;for(i=1;i<=5;i++) fun();printf("%d",fun());

A. 0
B. 1
C. 5
D. 6

以下程序的运行结果是()#define M(a,b) a*bmain(){int x=3,y=2,s1,s2;s1=M(x+y,x-y);s2=M(x-y,x+y);printf("%d,%d\n",s1,s2);}

A. -1,7
B. 5,5
C. 7,-1
D. 5,-5

Complete the following sentences with the words or phrases given below. Change the form if necessary.retailer strive vision honor captivate evoke specialty commitment inspire heritage1.We hold great respect for their cultural ____________ .2. He would like to order today's __________ in this restaurant.3. Their dances have __________ our interest in their culture.4. The boy was so __________ by the game that he forgot to do his homework.5. Jenny's story __________ the artist to create many famous paintings.6. We pray that both sides will continue to _____________ their commitment to the peace agreement.7. This store is the largest __________ in this city.8. He had a ___________ that one day all slaves would be free.9. We will __________for excellence in our service.10. Quality is our best __________ to our customers.

答案查题题库