Static variables are stored in the same place as global variables. If your compiler produces a map-file, take a look at it.
The compiler knows the difference because you declared them to be different.
Static variables are stored in the same place as global variables. If your compiler produces a map-file, take a look at it.
The compiler knows the difference because you declared them to be different.
If there are stored at the same place as global, why the scope of static variables is limited??
I want to know what additional symbol information the compiler will add to a static variable so that it can distinguish from global variables?