My code is divided in two source files. One of the source files includes main, the other one some functions I wrote.
In the source file where main is, I declare the global variable
And pass it to a function defined in the other source file:Code:char hello;
Quick question... will the function "function" work with the address of the global variable defined in the other source file, or will it receive a new copy of "hello" and work with that?Code:void function(char *hello); // the prototype function(hello);