(a) Write the output of the code given below:
print(p, end= '#')
In the first function call, a and b are passed as parameters. This assigns ‘q’ the value 10 and ‘r’ the value 5. This gives p the value 105 and it is printed with a ‘#’ after.
In the second function call, ‘q’ is assigned the value 1 and ‘r’ is assigned the value 5. This gives p the value 6.
Now the output will be: 105#6#