Where are static local variables stored in memory? Local variables can be accessed only inside the function in which they are declared.
Global static variables go into t
Static variable is almost similar to global variable and hence the uninitialized static variable is in BSS and the initialized static variable is in data segment.