Global memory management in C++ in stack or heap? -


If I declare a data structure globally in a C ++ application, does it contain stack memory or heap memory Does it consume?

For example

  Structure AAA {... / ... / ../../ ..} arr [59652323];  

Since I was not satisfied with the answer, and hopes that he wants to pay

  • >
  • Initial Data - BSS Volume
  • Stack
  • Stack
  • If you really want to know where the saved Where and Read:

    (see table w.5)


    Comments

    Popular posts from this blog

    c# - ListView onScroll event -

    PHP - get image from byte array -

    Linux Terminal Problem with Non-Canonical Terminal I/O app -