Home / Questions / What does static variable mean?
Explanatory Question

What does static variable mean?

👁 1,244 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Static variables are the variables which retain their values between the function calls. They are initialized only once their scope is within the function in which they are defined.