A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Important Notice!

Dear users, compscibits.com is now permanently moved to compsciedu.com. Please update all your links and bookmarks accordingly. Soon, the site will be accessible through URL compsciedu.com only.

Discussion Forum

Que. What is printed by the print statements in the program P1 assuming call by reference parameter passing?

Program P1()
x = 10;
y = 3;
print x;
print y;
y = y+4;
z = x+y+z;
a. 10, 3
b. 31, 3
c. 27, 7
d. None of the above
Answer:31, 3
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: