首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在下面的程序中,若实参a与形参x以引用调用(call by reference)的方式传递信息,则输出结果为(1);若实参a与形参x以值调用(call by value)的方式传递信息,那么输出结果为(2)。 Main program Pr
在下面的程序中,若实参a与形参x以引用调用(call by reference)的方式传递信息,则输出结果为(1);若实参a与形参x以值调用(call by value)的方式传递信息,那么输出结果为(2)。 Main program Pr
admin
2007-03-10
99
问题
在下面的程序中,若实参a与形参x以引用调用(call by reference)的方式传递信息,则输出结果为(1);若实参a与形参x以值调用(call by value)的方式传递信息,那么输出结果为(2)。
Main program Procedure addone(x)
a:=1; a:=x+1;
addone(a); x:=x+2;
write(a); return;
选项
A、1
B、2
C、3
D、4
答案
B
解析
转载请注明原文地址:https://www.kaotiyun.com/show/O2jZ777K
本试题收录于:
程序员上午基础知识考试题库软考初级分类
0
程序员上午基础知识考试
软考初级
相关试题推荐
______isusedtocommunicatewithanothercomputerovertelephonelines.
_________actsasthemanagerofcomputerresources.
常用的统计软件其功能不包括__________。
Computer(75)is a complex consisting of two or more connected computing units,it iS used for the purpose of data communication an
GIF files are limited to a maximum of 8 bits/pixel,it simply means that no more than 256 colors are allowed in(74).
For each blank, choose the best answer from the four choices and write down on the answer sheet. Web browser is simply a termina
中文“海”字的区位码是2603,则它的机内码是(6)。
The term data is often used to distinguish(73)machine-readable information from textual human-readable information.
Web browser is simply a terminal emulator, designed to display text on a screen. The two essential differences between an ordina
In a data warehouse environment, data is only valuable when it is organized and displayed as(75)
随机试题
某男,45岁,症见发热、恶寒、咳嗽、鼻塞流涕、头痛、无汗、肢体酸痛。证属风寒束表、肺气不宣,可以服用
重症、急救治疗时,需要药物迅速起效,以下不适合选择的给药途径是()。
根据《环境影响评价技术导则—总纲》,建设项目信息公开的主要内容包括()。
薄壁空间结构属于空间受力结构,主要承受曲面内的()。
在我国,税法的正式渊源包括()。
皮亚杰认为,认知是个体与环境交互作用中逐渐建构的,其结果就是要形成一个()。
作家:出版商
Workingatnonstandardtimes—evenings,nights,orweekends—istakingitstollonAmericanfamilies.One-fifthofallemployedAm
Thebesttitleforthispassageis______.Cloudsareformedfrom______.
Theimportanceandfocusoftheinterviewintheworkoftheprintandbroadcastjournalistisreflectedinseveralbooksthath
最新回复
(
0
)