Explain scope and lifetime of a variable
Answers
Answered by
0
Answer:
The scope of a variable refers to the areas or the sections of the program in which the variable can be accessed, and the lifetime of a variable indicates how long the variable stays alive in the memory.
Explanation:
please mark me brainlist
Answered by
0
Answer:
The scope of a variable refers to the areas or the sections of the program in which the variable can be accessed, and the lifetime of a variable indicates how long the variable stays alive in the memory.
Similar questions
Math,
2 months ago
Math,
2 months ago
Math,
2 months ago
Accountancy,
4 months ago
Social Sciences,
4 months ago
Chemistry,
10 months ago
Math,
10 months ago