题目内容

以下程序的输出结果是_________。#includevoidswap(int*a,int*b){int*t;t=a;a=b;b=t;}main(){inti=3,j=5,*p=&i,*q=&j;swap(p,q);printf("%d%d\n",*p,*q);}

查看答案
更多问题

请将以下程序中的函数声明语句补充完整。#includeint______;main(){ int x,y,(*p)();scanf("%d%d",&x,&y);p=max;printf("%d\n",(*p)(x,y));}int max(int a,int b){ return(a>b?a:b);}

有以下程序,请在 __ 处填写正确语句,使程序可正常编译运行。#include____________ ;main(){ double x,y,(*p)();scanf("%lf%lf",&x,&y);p=avg;printf("%f\n",(*p)(x,y));}double avg(double a,double b){ return((a+b)/2);}

有以下程序:#include fun(int x){if(x/2>0) fun(x/2);printf("%d.",x);}main(){ fun(6),printf("\n");}程序运行后的输出结果是________。

We can’t afford to lose this ______ because the future of the company depends on it.

A. contact
B. context
C. concept
D. contract

答案查题题库