Report Bug

QusWhich keyword allows modification of a global variable inside a function? QusFunction के अंदर global variable को modify करने के लिए कौन-सा keyword उपयोग होता है?


A. extern
B. static
C. global
D. nonlocal


Solution
C. global



Explanation
global tells Python that the name refers to a global variable.

global keyword बताता है कि variable global scope वाला है।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad