differentiate local and static variable?
Answers
Answered by
0
The major difference is that static variables are the variables which allows a particular value to be retained from one call of the function to another. But in the different case of local variables the scope is till the block/ function lifetime. Local variables are non existent in the memory after the function termination output.
Mark as brainliest
Mark as brainliest
Similar questions