Q19
MCQMarks unknownConsider the following program in pseudo-Pascal syntax. What is printed by the program if parameter in procedure is passed as program Example (input, output) var b: integer; procedure test2: begin b:=10; end procedure test1 (a:integer): begin a:=5; writeln ('point 1: ', a, b); test2; writeln ('point 2: ', a, b); end begin (*Example*) b:=3; test1(b); writeln('point3: ', b); end
Sign in to save attempts.
Loading…