1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

c-string consts in stack or heap?

Discussion in 'C++' started by Igor Yalovecky, Aug 29, 2010.

  1. Igor Yalovecky

    Igor Yalovecky New Member

    Joined:
    Aug 29, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    [src]tmpfile = "/tmp/somefile.tmp";[/src]

    I think what memory for such object allocated by compiler, so its in stack, or even in over special area for static vars, but i may be wrong. Ooh, where placed area for static vars?
     

Share This Page