C Functions Question:

What are the scope of static variables?

C Functions Interview Question
C Functions Interview Question

Answer:

The scope of a static variable is local to the block in which the variable is defined. However, the value of the static variable persists between two function calls.


Previous QuestionNext Question
What is use of bit field?Do you know the purpose of "register" keyword?