首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
函数f()、g()的定义如下所示,己知调用f时传递给其形参x的值是3,若以传值方式调用g,则函数f的返回值为 (1)______ ;若以传引用方式调用g,则函数f的返回值为 (2)______ 。 (1)______ A.18 B.17 C.12
函数f()、g()的定义如下所示,己知调用f时传递给其形参x的值是3,若以传值方式调用g,则函数f的返回值为 (1)______ ;若以传引用方式调用g,则函数f的返回值为 (2)______ 。 (1)______ A.18 B.17 C.12
admin
2019-05-11
37
问题
函数f()、g()的定义如下所示,己知调用f时传递给其形参x的值是3,若以传值方式调用g,则函数f的返回值为 (1)______ ;若以传引用方式调用g,则函数f的返回值为 (2)______ 。
(1)______
A.18
B.17
C.12
D.8
选项
A、
B、
C、
D、
答案
C
解析
转载请注明原文地址:https://www.kaotiyun.com/show/PfVZ777K
本试题收录于:
程序员上午基础知识考试题库软考初级分类
0
程序员上午基础知识考试
软考初级
相关试题推荐
通常计算机的存储器是一个由Cache、主存和辅存构成的3级存储系统。辅助存储器一般可由磁盘、磁带和光盘等存储设备组成。Cache和主存一般是一种(11)存储器。在各种辅存中,除了(12)外,大多是便于脱卸和携带的。Cache存储器一般采用(13)半导体芯片
在Windows操作系统中,按PrtScr键,则使整个桌面内容(4)。
TCP/IP(1)_____layerprotocolsprovideservicestotheapplication(2)_____runningonacomputer.Theapplicationlayerdoes
DOM is a platform and language -(66)API that allows programs and scripts to dynamically access and update the content, structure
TheInternetisbasedonaconnectionlessend-to—endpacketservice,whichtraditionallyprovidedbest-effortmeansofdata(1)
Atransportlayerprotocolhasseveralresponsibilities.Oneistocreateaprocess-to-process(program-to-program)communicatio
Routersperformthedecisionprocessthatselectswhatpathapackettakes.These(71)layerdevicesparticipateinthecollection
______is the address of.a variable or a variable in which the address of another variable is stored.
A______isafunctionalunitthatinterpretsandcarriesoutinstructions.A.memoryB.processorC.storageD.network
(72)________________testingensuresthatasoRwaremoduleoperatescorrectlyandreliably.
随机试题
Engineeringstudentsaresupposedtobeexamplesofpracticalityandrationality,butwhenitcomestomycollegeeducationIam
关节盘的分区不包括
收益法适用的条件是房地产的收益和风险都能够较准确地量化。()
以下属于刑事责任承担方式的有()。
项目规模评估的方法主要有两类()。
商业银行资本的作用主要有()。
北魏孝文帝改革,对北方内迁各族最重要的影响是()。
下列服务器用于地址解析的是(38)。
将十进制数转换为二进制数的递归函数定义如下:voidd2b(unsignedintn){if((n==0)||(n==1))cout
SecurityandPrivacyonWalmart.comHowWeProtectYourPrivacy:Thesecurityofyourpersonalinformationisveryimportant
最新回复
(
0
)