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

Why scope should be used for variable. State the reason. - Computer Science

Advertisements
Advertisements

प्रश्न

Why scope should be used for variable. State the reason.

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

उत्तर

Essentially, variables are addresses (references, or pointers), to an object in memory. When you assign a variable with := to an instance (object), you’re binding (or mapping) the variable to that instance. Multiple variables can be mapped to the same instance.

shaalaa.com
Variable Scope
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: Scoping - Evaluation [पृष्ठ २९]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 3 Scoping
Evaluation | Q 2. | पृष्ठ २९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×