Consider the following code segment

main ( )

{

int a = 5;

f (a, a);

print a;

}

f (int x, int y)

{

x --;

y = y + 15;

}

What will be printed if call by copy restore mechanism is used for passing parameters?

1
4
2
20
3
Both (A) and (B)
4
Either (A) or (B)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation