Ask Question
12 October, 11:37

How would a static local variable be useful?

+2
Answers (1)
  1. 12 October, 15:34
    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?
Get an answer to your question ✅ “How would a static local variable be useful? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers