Qus : Which scope is created by a function defined inside another function?
Qusकिसी दूसरे function के अंदर defined function द्वारा कौन-सा scope बनाया जाता है?
A. Local B. Global
C. Enclosing D. Built-in
Solution
C. Enclosing
Explanation
<p>In LEGB, the outer function provides the enclosing scope for its inner function.</p><p><br></p><p>LEGB rule में outer function, inner function के लिए Enclosing scope बनाता है।</p>