location of non-local variables of a procedure or function in C
In C, can non-local function and procedure variables be found in the heap and static zone?
in the heap those allocated dynamically, i.e. using malloc and calloc. In the static area, however, there are global variables accessible from all points of the program, right?
in the stack instead there are the local variables of the functions or procedures right?