Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Parameter Passing Material
Recent questions tagged parameter-passing
23
votes
6
answers
61
GATE CSE 1991 | Question: 03,x
Indicate all the true statements from the following: Recursive descent parsing cannot be used for grammar with left recursion. The intermediate form for representing expressions which is best suited for code optimization is the postfix form. A ... passing, the effect can be correctly simulated in C No feature of Pascal typing violates strong typing in Pascal.
Indicate all the true statements from the following:Recursive descent parsing cannot be used for grammar with left recursion.The intermediate form for representing expres...
Kathleen
6.8k
views
Kathleen
asked
Sep 12, 2014
Compiler Design
gate1991
compiler-design
parameter-passing
difficult
multiple-selects
+
–
44
votes
4
answers
62
GATE CSE 2008 | Question: 60
What is printed by the following C program? int f(int x, int *py, int **ppz) { int y, z; **ppz += 1; z = **ppz; // corrected z = *ppz; to z = **ppz; *py += 2; y = *py; x += 3; return x+y+z; } void main() { int c, *b, **a; c = 4; b = &c; a = &b; printf("%d", f(c, b, a)); } $18$ $19$ $21$ $22$
What is printed by the following C program?int f(int x, int *py, int ppz) { int y, z; ppz += 1; z = ppz; // corrected z = *ppz; to z = ppz; *py += 2; y = *py; x += 3;...
Kathleen
17.7k
views
Kathleen
asked
Sep 12, 2014
Programming in C
gatecse-2008
programming
programming-in-c
normal
parameter-passing
+
–
26
votes
2
answers
63
GATE CSE 1994 | Question: 1.20
In which of the following cases is it possible to obtain different results for call-by-reference and call-by-name parameter passing methods? Passing a constant value as a parameter Passing the address of an array as a parameter Passing an array element as a parameter Passing an array
In which of the following cases is it possible to obtain different results for call-by-reference and call-by-name parameter passing methods?Passing a constant value as a ...
Keith Kr
10.0k
views
Keith Kr
asked
Sep 4, 2014
Programming in C
gate1994
programming
parameter-passing
easy
+
–
73
votes
2
answers
64
GATE CSE 2013 | Question: 42
What is the return value of $f(p,p)$, if the value of $p$ is initialized to $5$ before the call? Note that the first parameter is passed by reference, whereas the second parameter is passed by value. int f (int &x, int c) { c = c - 1; if (c==0) return 1; x = x + 1; return f(x,c) * x; }
What is the return value of $f(p,p)$, if the value of $p$ is initialized to $5$ before the call? Note that the first parameter is passed by reference, whereas the second ...
gatecse
21.0k
views
gatecse
asked
Aug 7, 2014
Programming in C
gatecse-2013
compiler-design
normal
marks-to-all
numerical-answers
parameter-passing
runtime-environment
+
–
Page:
« prev
1
2
3
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register