Question: PROGRAM EX 1 ; int i; / / global int A [ 3 ] ; / / global { array starts at 1 } PROCEDURE
PROGRAM EX; int i; global int A; global array starts at PROCEDURE P int x int y BEGIN y :; i :; END; BEGIN main A:; A:; A:; i :; PAi i; first call PRINTi # prints value of i PRINTAA; # assume function that prints all the values found in the array A i :; Pi Ai; second call PRINTi # prints value of i PRINTAA; # assume function that prints all the values found in the array A END. Assume x is passed by Name and y is passed by Reference. Q pts : # : a b c d None of the others Q pts : #: a b c d None of the others Q Pts : #: a b c d None of the others Q pts : #: a b c e None of the other answers
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
