question about static variables and extern in plain C
- by user324994
Is there a difference between declaring a static variable outside of a function and declaring a static variable inside a function?
Also, what's the difference between declaring a variable as static and just declaring an extern variable?