 |
syntax - What does "static" mean in a C program? - Stack Overflow
I've seen the word static used in different places in C code; is this like a static function/class in C# (where the implementation is shared across objects)? ... Depends: int foo() { static int x; return ++x; } Whould return 1,2,3.. and so on --- the vari
stackoverflow.com |
 |