Hi,
if i write a program like this
My doubt is about the "j" variable. Does it come under file scope? Does file scope mean it should be visible to all the functions in the file? Should we ever use this kind of definition for "j"?Code:void test(int i); int main(void) { test(3); } int j; void test(int i) { printf("%d",i); }
Thanks and regards,
Satya