Question: Given this pseudo code, fill in what is printed by the print statements program main; var I : integer; var a : array [ 1
Given this pseudo code, fill in what is printed by the print statements
program main;
var I : integer; var a : array of integer;
procedure P x y : integer;
begin P
x : x ;
if I x then I : I ;
y : y ;
printx y;
x : x :
end; P
begin main
I :
a :; a :; a :;
P I aI;
printI a a a;
end
Give me the what is printed from each of the print statements assuming the following way that x and y are passed:
A Value
B ValueResult
C Reference
D Name
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
