+ 2
What is difference b/w scope and lifetime of a variable ??
please explain.
9 Réponses
+ 9
Scope is the region/area in which a variable is available for use.
Lifetime of a variable refers to time for which the variable is available for use.
+ 1
Umesh Kumar answer is right
+ 1
ya umesh said accurate answer !!
+ 1
perfect umesh
+ 1
keep it up
0
Thanks for support Sandeep
0
ôđd
0
Umesh - Perfect
0
Wrong Umesh ..
Scope is availability of a variable in particular Places in Program..
While Lifetime is availability of Variable Call in particular Places in Program..