hi All,
How to do some variables "visible" in various procedures. For example if I have a C program like:
void main() { string A; subRoutine(); return 0; }
subRoutine() { string B = A+"fsfdsfsd"; printf("%s", B) }
How to make variable A "visible" in the procedure subRoutine()? I alway thought that the variables defined in the main procedure have global scope.
Thank you Oliver |