NIELIT O Level Exam

<p>What is the output of following?</p><pre><span style="font-size: 14px;">def test():<br></span><span style="font-size: 14px;">&nbsp; &nbsp; return<br></span><span style="font-size: 14px;">print(test())</span></pre>

What is the output of following?

def test():
    return
print(test())


निम्न code का output क्या होगा?

def test():
    return
print(test())

A. 0

B. Error

C. None

D. Blank




Correct Answer is :

C. None



Explanation
A return without a value returns None.

बिना value वाला return स्वतः None return करता है।
Latest Current Affairs 2026 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