March 28, 2024, 05:30:12 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: heap memory or stack memory  (Read 3802 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