main()
{
int a=1, b=10;
swap(a,b);
printf("\n%d%d", a,b);
}
swap(int x, int y)
{
int temp;
temp=x;
x=y;
y=temp;
}
Answer & ExplanationOption: [B]
The 'call by value' method is applied in this program. Here the data is passed by value in the main(). So the variables are not changed.