हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

What is meant by the scope of a variable? Mention its types. - Computer Science

Advertisements
Advertisements

प्रश्न

What is meant by the scope of a variable? Mention its types.

टिप्पणी लिखिए

उत्तर

  • Scope of a variable refers to the part of the program, where it is accessible, i.e., an area where the variables can refer (use).
  • The scope holds the current set of variables and their values.
  • The two types of scopes are – local scope and global scope.
shaalaa.com
Variable Scope
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 7: Python functions - Evaluation [पृष्ठ ११२]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 7 Python functions
Evaluation | Q 4. | पृष्ठ ११२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×