int counter;
auto int i;
Both the variables are here defined with the same storage class; auto can only be used within
functions (i.e., local variables).
II. Static
The static storage class is a local variable which exists and retains its value even after control is
Do'stlaringiz bilan baham: