i was reading a book when i came across this piece of text that i didnt understand . please explain
auto int i;
static int j;
register int k;
extern int l;
the text says that the first three are definitions whereas the last one is a declaration.how is that??
this link might help you to understand extern!!!
hope it helps…
1 Like
See answer to this following question, there can be no greater answer other than this. You will know everything about extern keyword.
[What are extern variables in C][1]
Hope it helps, Best Luck
[1]: http://stackoverflow.com/questions/1433204/what-are-extern-variables-in-c