Write about scope and life of a variable?
Answers
Answered by
0
The scope of a declaration is the part of the program for which the declaration is in effect. The lifetime of a variable or object is the time period in which the variable/object has valid memory. Lifetime is also called "allocation method" or "storage duration."
Hope it helps
Please mark as brainliest
Tarasing:
wrong
Similar questions