That is trueBecause the first function is main, right?But in your main function you called other function foo(x,y)And in your foo function you have print the result for y and aSo x is shown the lastCheck it again and you will find out.