What will be the output of the following psuodocode when parameters are passed by reference and dynamic scoping is assumed?
a=3;
void a(x)
{
x=x*a;
print(x);
}
void m(y)
{
a=1;
a=y-a;
n(a);
print(a);
}
void main()
{
m(a);
}


Posted on by