Hello
does a variable can be a static and extern both at a time ?
What does it mean ?Code:static extern int i;
M too confused with that
Please help me..!!
Thanks
Gunjan
Hello
does a variable can be a static and extern both at a time ?
What does it mean ?Code:static extern int i;
M too confused with that
Please help me..!!
Thanks
Gunjan
Where did you see that? Does it even compile?
1. static is used to define/declare the variables or functions with-in the file, being used.
2. extern is used to define/declare the variables or functions in some other file so that they could be used in any other file.....
I hope, now you got the answer.........