I was told by an experienced C developer that the concept of Static variables was not the same as that of static memory allocation. Is this correct? If so, what is the difference between the two concepts?
What is the formal definition of Static Memory Allocation and how does it differ from the formal definition of a Static variable?
This question refers to how these concepts map to the C programming language only.