We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
C51: My Program code is distributed over multiple files, I want to access a variable declared in another file.
You probably mean defined in another file where storage is allocated for it.
Create an extern declaration for the variable.
c-faq.com/.../decldef.html