...
Question 10188 – Computer-Organization
March 2, 2024
Question 5534 – UGC NET CS 2011 June-Paper-2
March 2, 2024
Question 10188 – Computer-Organization
March 2, 2024
Question 5534 – UGC NET CS 2011 June-Paper-2
March 2, 2024

Question 11528 – Arrays

What is the output of the following Pascal program segment?

{c: array [1..10] of integer;

m, n, temp : integer;

procedure r (k, j : integer)

begin

k :=k+1; j :=j+2;

end r;

m :5; n := 3;

r(m, n)

temp;=m; m:=n; n:temp;

write m, n;

}

Correct Answer: E

A
3, 5
B
5, 3
C
Either 3, 5 or 5, 3
D
Unpredictable
E
Answer the above question with explanation
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!