Consider the given Python program. def outer():
x = []
def inner(val):
x.append(val) return x
return innerf1 = outer()
f2 = outer()
print(f1(10)) # Line P
print(f1(20)) # Line Q
print(f2(30)) # Line R
print(f1(40)) # Line S Which of the following options is/are correct?- A\({f1}\) and \({f2}\) share the same list \(x\)
- BOutput of Line \(\text{Q}\) is \([10, 20]\)
- COutput of Line \(\text{R}\) is \([10,20,30]\)
- DOutput of Line \(\text{S}\) is \([10, 20, 40]\)