Sign in
Please select an account to continue using cracku.in
↓ →
Consider the following code segment
void foo(int x, int y) .
{
x+=y;
y+=x;
}
main( )
{
int x=5.5;
foo(x,x);
}
What is the final value of x in both call by value andcall by reference, respectively?
Create a FREE account and get: