首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
有如下函数原型: int func(int **a, int *b, int &c int d); 其中可称为引用参数的参数变量是
有如下函数原型: int func(int **a, int *b, int &c int d); 其中可称为引用参数的参数变量是
admin
2019-04-18
40
问题
有如下函数原型:
int func(int **a, int *b, int &c int d);
其中可称为引用参数的参数变量是
选项
A、a
B、b
C、c
D、d
答案
C
解析
本题考查引用的概念和使用方法,引用使用&来定义,所以只有C选项是引用,所以C选项正确。
转载请注明原文地址:https://kaotiyun.com/show/A4Ap777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
有以下程序:#include<iostream>usingnamespacestd;classsample{private:intx;public:sample(intA){
有如下程序:#include<iostream>usingnamespaeestd;classA{public:A(inti):rl(i){}voidprint(){cout<<’E’<<rl<
下列关于C++流的叙述中,错误的是
将运算符重载为类成员函数时,其参数表中没有参数,说明该运算符是
已知数组arr的定义如下:intarr[5]={1,2,3,4,5};下列语句中,输出结果不是2的是
执行语句序列inti=0;while(i<25)i+=3;cout<<i;输出结果是
“图形”类Shape-中定义了纯虚函数calArea(),“三角形”类Triangle继承了类Shape,请将Triangle类中的calArea函数补充完整。classShape{public:virtualintC
字面常量42、4.2、42L的数据类型分别是
在数据库系统的内部结构体系中,索引属于()。
随机试题
A、Thetestwasharderthanhehadanticipated.B、Heneverdoeswellinbiology.C、Hewasluckytopassthetest.D、ProfessorMor
逍遥散的功效是
有一三绕组电源变压器,一次绕组U1=220V,N1=880匝,二次侧有两个绕组,分别输出U21=36V,U22=12V,当分别接上P21=120W,P22=100W纯电阻负载时,忽略变压器损耗,一次绕组中电流I1=()A。
在Word软件操作过程中,如果对所做的修改不满意,希望恢复到之前的状态,可以使用的命令是()。
承担旅游法律责任的行为人要有过错,是指行为人决定其行为的()。
把下面的六个图形分为两类,使每一类图形都有各自的共同特征或规律,分类正确的一项是:
有如下头文件:intf1();staticintf2();classMA{public:intf3();staticintf4();friendintf1();friendstat
Maitiancunisaverygoodrestaurantinourhometown.Itislocatedinthedowntownareaandmanypeople(11)togotheretoenj
Antiseptics(杀菌剂)havesavedcountlesslives,buttheyaremosteffectivewhenthebacteriatheyareattackingareindividualcel
Noisepollutionisnotanecessarypricetopayforlivinginanindustrialsociety.Muchcanbedonetoreducetheseverityof
最新回复
(
0
)