That is so wrong; a C compiler doesn't know anything about header files; that's a task for the preprocessor; the compiler just works with translation units; one at the time. If you define a static variable in a header file it'll end up in every translation unit that includes that file and therefore multiple static variables will exist.
kind regards,
Jos
kind regards,
Jos
Comment