LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   heap or stack (https://www.linuxquestions.org/questions/programming-9/heap-or-stack-425709/)

yashwantpinge 03-17-2006 07:12 AM

heap or stack
 
hello,

Suppose,I have declared a global variable in C++.
Though, where it is allocated heap or stack.

Flesym 03-17-2006 07:25 AM

Usually neither stack, nor heap. Typically they are stored in another area called the Data Segment.


All times are GMT -5. The time now is 01:52 AM.