Report Bug

Qus

What is the output of the following code?

def s(n1):
    print(n1)
    n1=n1+2
n2=4
s(n2)
print(n2)
Qus

निम्नलिखित कोड का परिणाम क्या है?

def s(n1):
    print(n1)
    n1=n1+2
n2=4
s(n2)
print(n2)


A. 6 4
B. 4 6
C. 4 4
D. 6 6


Solution
C. 4 4



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad