Hello experts,
I have created a project with multiple c files. I kept all the global variable declarations in a single file but definitions in respective .c files. I see that the variables are not initializing to the value assigned during definition.
If I create the respective .h file for each .c file and include the header file in the required .c files, I am getting multiple declaration errors.
I want to know, How to create a project which has many .c and their respective .h files and every .c file has global variables and how to access those variables in other .c files?
Regards
Vishal
