November 22, 2024, 09:11:04 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: heap memory or stack memory  (Read 6054 times)

Offline yashwantpinge

  • New Member
  • Posts: 2
heap memory or stack memory
« on: March 06, 2006, 12:10:01 PM »
hello,

I have declared a global variable in C++.
In which memory it is allocated heap or stack

Offline urwithsudheer

  • New Member
  • Posts: 3
global variables in heap or stack
« Reply #1 on: March 23, 2006, 07:18:08 AM »
Hello

Global varaibles in heap and Local Variables in stack