Back to Browse

GRE Computer Science Question 13

2.2K views
Mar 29, 2012
3:06

GRE Computer Science Question 13 13. Consider the following pseudocode. program main () begin integer a, b, c, i a = 6 b = 7 c = 8 i = fun(a, b, c) print i, a, b, c end integer fun (integer x, integer y, integer z) begin if (x greater than 6) then y = 25 z = x + y return y + z end If fun uses call-by-reference, what values would be printed as a result of executing the pseudocode? i a b c (A) 6 20 8 7 (B) 6 20 13 7 (C) 20 6 7 8 (D) 20 6 7 13 (E) 56 6 25 31

Download

0 formats

No download links available.

GRE Computer Science Question 13 | NatokHD