Hi,
here is my question.
Can we use static variable across the multiple files?
If so how?Please reply ASaP.
You mean you want to use the same variable across different soruce file and its value must be preserved? You didn't specfy C or C++. I assume you mean C. Technically, yes.
The easiest way is to use global variable but it is not advise to use global variable. check it out yourself. And you need the keyword " static" to make its value contained in the variable preserved by the program. Checks the "variable scope".
oh ya..i think the keyword "extend" could help you too. check it out as well.
Hope these will help.