question about static variables and extern in plain C

Posted by user324994 on Stack Overflow See other posts from Stack Overflow or by user324994
Published on 2010-05-06T03:44:40Z Indexed on 2010/05/06 3:48 UTC
Read the original article Hit count: 219

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about extern

Related posts about static