Where the Stack variable stores ( Data segment or Heap or BSS) ?

Posted by SIVA on Stack Overflow See other posts from Stack Overflow or by SIVA
Published on 2010-03-25T15:34:12Z Indexed on 2010/03/25 15:43 UTC
Read the original article Hit count: 173

Filed under:
|
|

Some people are saying " stack variable store its value in HEAP ", and others saying " stack variable store store its value in DATA segment". I am totally confused with these conflict answers.

Where exactly static variable stores?. I am expecting an answer with standard reference ( text books, or good author tutorial).

© Stack Overflow or respective owner

Related posts about c

    Related posts about heap