设有如下定义:int x=2,y;int fun(int*a){return *a+1;}下列函数调用中,实际参数正确的是()
A.y=fun(x);
B.y=fun(&x);
C.y=fun(*x);
D.y=fun(a);
求详细解答
人气:201 ℃ 时间:2020-04-24 23:08:11
解答
函数定义中参数数int* a,是一个指针.只有b答案传递的是一个指针
推荐
猜你喜欢
- 分析句子,A select group of people were invited to the wedding reception.
- 若将Al Fe Cl Br Si H O Zn S P Mg Cu N C Ag Ca 分成A.B两组,且A组中必须包括铝 ,B组必须包括氢
- 已知三角形三点坐标,求面积和周长
- 2/3x=3/4y=2/5z x+y+z=215
- we stayed with mygrandmother for a week in July.的中文
- 肃穆的反义词是什么?只要一个,最好的一个.还有近义词
- 找规律3,5,7,11,18 ,找规律3,5,7,17,59
- my country and english-speaking countries的英语作文