adplus-dvertising
frame-decoration

Question

Which of the following is true for static variable?

a.

It can be called from another function

b.

It exists even after the function ends

c.

It can be modified in another function by sending it as a parameter

d.

All of the mentioned

Posted under Functions C Programming

Answer: (b).It exists even after the function ends

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is true for static variable?