问答题
#include<stdio.h> int ast(int x,int y,int *cp,int*dp) {*cp=x+y;*dp=x-y;} main() {int a,b,c,d; a=4;b=3; ast(a,b,&C,&d); printf("%d,%d\n",c,d); }
【参考答案】
7,1[解析] #include<stdio.h> int ast(int x,int y,int *cp,int ......
(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
设a、b、c为整型数,且a=2、b=3、c=4;则执行完下列语句后a的值是______。 a*=16+(b++)-(++c);
点击查看答案
填空题
下的findrnax函数返M数组s中最大元素的下标。数组中元素的个数由t传入。 findmax(int s[],int t) {int k,p; for(p=0,k=0;p<t;p++) if(s[p]>s[k])______; return k: }
点击查看答案&解析
相关试题
根据Fibonacci数列公式: 计算并输出前2...
输入2个整数,输出它们的最小公倍数和最大...
#include<stdio.h> #include%<stri...
下面程序由终端键盘输入一个文件名。然后把...
#include<stdio.h> #include<string...