HI I welcome all to answer this. Q1) if a File1.c contains static int a; and File2.c contains static int a;
if these two files are part of same project.
will the compilation throw any error if so why? if it wont throw any error why? as we declared with same..?
Q2) a static variable X; declared in prog1.c how can we use the value of X, in prog2.c
tell me the other way without sending the value throuh return value from a function declared globally in prog1.c
note: some body told me about GET and SET functions how can we use this to get the static var value..? is there any other way to access the value.?