Ask Question
30 December, 05:05

How would a static local variable be useful?

+4
Answers (1)
  1. 30 December, 05:28
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers