GATEverse
← GATE CSE 1991

Q09a

MCQMarks unknown

Consider the following pseudo-code (all data items are of type integer): procedure P(a, b, c); a := 2; c := a + b; end {P} begin x := 1; y := 5; z := 100; P(x, x*y, z); Write ('x = ', x, 'z = ', z); end Determine its output, if the parameters are passed to the Procedure P\text{P} by

Sign in to save attempts.

Loading…