下列程序的运行结果是()
2022-09-27 22:21 C语言编程新思路
下列程序的运行结果是()。 #include <stdio.h> void fun(int x, int y, int *cp,int *dp) { *cp=x+y; *dp=x-y; } int main() { int a,b,c,d; a=4;b=3; fun(a,b,&c,&d); printf("%d,%d\n",c,d); return 0; }
A.4,3
B.3,4
C.7,1
D.1,7
正确答案:C