+ 2
Where does the static variables are stored?
3 Réponses
+ 2
static variables are stored in the same specific block of memory which is used also for as global variables.This is called rwzi (read,write,zero initialized).
+ 1
in gcc compilator there are two specific section .Data and .Bss for this case.
0
thank you I got it