单选题 下面程序的运行结果是{{U}} {{/U}}。
#include<iostream.h>
int x=5;
int fun(int a)
{
int c;
C=X*a;
retum c;
}
void main()
{
int x=3,a=4;
x=x+fun(a);
cout<<"x"”<<X<<endl;
}
  • A.x=15
  • B.x=17
  • C.x=23
  • D.x=25
【正确答案】 C
【答案解析】