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

Write a note on Local Scope. - Computer Science

Advertisements
Advertisements

प्रश्न

Write a note on Local Scope.

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

उत्तर

  1. A local variable is defined within a block. A block of code begins and ends with curly braces { }.
  2. The scope of a local variable is the block in which it is defined.
  3. A local variable cannot be accessed from outside the block of its declaration.
  4. A local variable is created upon entry into its block and destroyed upon exit.
shaalaa.com
Scope Rules of Variables - Local and Global Variables
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 11: Functions - Evaluation - Section - B [पृष्ठ २०५]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
अध्याय 11 Functions
Evaluation - Section - B | Q 5. | पृष्ठ २०५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×