When declare a variable to be static?

Can someone give some explains on when to declare a variable to be static? What is the difference with extern one?

More questions in this forum