Question: Var Q1) study the next program, write down the result if. 6 points. a) Pass by value is used. Program final: b) Pass by result
Var Q1) study the next program, write down the result if. 6 points. a) Pass by value is used. Program final: b) Pass by result is used. i: integer a: array [12] or integer: c) Pass by value-result is used. Procedure proi (x,y: integer); begin d) Pass by reference is used. XX1 end of pro1: begin final) a[1] = 1; a[2]:-1 i 1: pr01 (a[i). a[i]): print(a[1] = a[1]): print(a[2] [2]): end of final
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
