✏️ Explanatory Question

What does static variable mean?

👁 1,246 Views
📘 Detailed Answer
💡

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.