Probably a silly question but I am currently working on a program which contains two particular functions. they are both called from main().
function one is declared in one source file and the other function is declared in another source file.
Now both of the fuctions use a variable identifier (an int). The value of this identifier is established in the first function and is used in the second function. where should declare this variable in the program so that it may be used by both functions?
I hope I have made my problem clear enough for you guys to help!