Ask Question
12 October, 12:10

How would a static local variable be useful?

+2
Answers (1)
  1. 12 October, 14:40
    0
    Answer: Static local variable is a variable that is initialized as static only one time inside a function and whenever it is called in that function it will be accessible.

    Explanation: Static local variables are very useful variables which are declared as static in a particular function. Static local variable is initialized only one time in a function and whenever the function in which it has been declared, the value of the variable will be accessible by as many times it has been called in the function in which it is declared.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “How would a static local variable be useful? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers