Report Bug

QusWhich variable has local scope? Qusकौन-सा variable local scope में होता है?


A. Declared outside all functions
B. Declared in loop
C. Declared using global
D. Declared inside a function


Solution
D. Declared inside a function



Explanation
A variable created inside a function normally belongs to that function's local scope.

Function के अंदर बनाया गया variable सामान्यतः उसी function के local 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