Vidyalelo
Python · Q57

Functions in Python

Programming · Python · question 57

Q57

What will be the output of the following Python code? x=12 def f1(a,b=x): print(a,b) x=15 f1(4)

A.
Error
B.
12 4
C.
4 12
Answer
D.
4 15

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board