What is the differences between storage classes : <p>Could you explain easily all differences between the four storage classes with examples and usages.</p>

<p>I have found some information but I could not understand well.</p>

<p>I only know 2 things:</p>

<p>1) When we use the keyword 'static' in a function the variable still remains after the function ends. but what about outside of the function is it necessary?</p>

<p>2) When we use extern for a variable we can use it from anywhere.
but I know when we declare (int variablename) on top lines it still can be used from anywhere.</p>

<p>am I right about the 2 things or the only things that I know are incorrect?</p>

<p>and another question:are the 4 stroge classes are special for c or are they same in any other languages</p>
