Hi there,
I have been reading the article shared in link
Memory Layout of C Programs - GeeksforGeeks, but I'm still having trouble understanding the memory structure in C. From what I gathered, there are four segments: the text where the program is stored, the data segment for global variables, the stack for local variables, and the heap for dynamic memory.
I don't use Linux operating system. However, I'm unsure about where other variables like static global variables, static local variables, and external variables, pointer inside function are stored in this memory structure?
Could you help clarify this for me?