I\'m new to C. I have a book in front of me that explains C\'s \"file scope\", including sample code. But the code only declares and initializes a file scoped variable - it
Don't ever #include a .c file like you are doing there. The language allows it, but C coders just don't do that, so you will confuse the heck out of people if you do it. Most likely including yourself.
"#include" means "Compiler, please go to that other file and tack it to the front of this one before you start compiling my code."
I once lost a whole day in total confusion because one of the vxWorks source files did this. I'm still POed at them over that.