question regarding defintion and declaration of storage classes in c

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…:slight_smile:

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 :slight_smile:
[1]: http://stackoverflow.com/questions/1433204/what-are-extern-variables-in-c

Ohh you are fast :slight_smile:

1 Like

hehehe…:stuck_out_tongue:

1 Like