Automatic variable's scope is always local to that function, in which they are declared i.e. automatic variable, can be accessible within the same block. Static variable's scope is also local to that function in which they are declared i.e. static variable can be accessible within the same block.