where are global and local variables stored in memory?
Sigiloso
Initialized, non-const global variables are in the .data segment, Initialized constant global variables are in the .rodata segment, uninitialized global data are in the .bss segment, and local variables are on the stack.