Concept drill
pass-by-reference
GATE CSE & IT · Code Generation · 1998-2015
3
PYQs
67%
keyed
0
elite explanations
3
years appeared
Study anchor
Source-book anchor pending for this concept.
Practice action
Start latest PYQPYQs in this concept
All concepts →2015 PYQ
The output of the following C program is__________. void f1(int a, int b) { int c; c=a; a=b; b=c; } void f2(int *a, int *b) { int c; c=*a; *a=*b; *b=c; } int main(){ int a=4, b=5,...
easy
2001 PYQ
Consider the following program Program P2 var n:int; procedure W(var x:int) begin x=x+1; print x; end procedure D begin var n:int; n=3; W(n); end begin \\begin P2 n = 10; D; end If...
mediumanswer key
1998 PYQ
What is the result of the following program? program side-effect (input, output); var x, result: integer: fucntion f (var x:integer):integer; begin x:x+1;f:=x; end begin x:=5 resul...
mediumanswer key