___________
5. The following is a program segment and the definition of a procedure named sub.
5。下面是一段程序,一个过程的定义命名子。
…
…
3; X procedure sub (Y)
3;程序子(Y) X
sub (X); 5; Y
5; 子(X);y
print the value of X;
打印X的值;
…
…
A. What value will be printed by the program segment if parameters are passed by value?
a什么价值将打印的程序段如果参数值传递?
____________
_______
B. What value will be printed by the program segment if parameters are passed by reference?
b .什么价值将打印的程序段如果参数是通过引用传递?
____________
_______
6. The following is a program segment and the definition of a procedure named sub.
6。下面是一段程序,一个过程的定义命名子。
…
…
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库Assignment3(1)(13)在线全文阅读。
相关推荐: