单选题
执行以下程序后的输出结果为 ( )。
#include<iostream>
Using namespace std;
void fun(int x, int y, int *cp, int *dp)
*cp=x+ y; 2*dp=x- y;
void maia()
int a, b, c, d;
a=30; b=50;
fun(a, b, &c, &d);
cout<<c<<','<,d<<end1;
A、
50, 30
B、
30, 50
C、
80, 20
D、
80, 20
【正确答案】
C
【答案解析】
提交答案
关闭