Home / Questions / What is local variable in C?
Explanatory Question

What is local variable in C?

👁 900 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

  • The variables which are having scope/life only within the function are called local variables.
  • These variables are declared within the function and can’t be accessed outside the function.