Consider the following example in an Algol - like language. begin integer n; procedure p (
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider the following example in an Algollike language.
begin
integer n;
procedure pj: integer;
begin
j : jn;
n :nj;
print n;
print j;
end;
n :;
p n;
printn;
end;
a What is the output when j is passed by value?
b What is the output when j is passed by value result?
c What is the output when j is passed by reference?
Related Book For
Business Data Communications Infrastructure Networking and Security
ISBN: 978-0133023893
7th edition
Authors: William Stallings, Tom Case
Posted Date: