title: In C, How much memory my program waste?
body: <p>I want to know, for example, I have a struct with three members...like:  </p>
  
  <pre><code>struct Somethings { 
       int member1;
       int member2;
       char *member3;
  }</code> </pre>
  
  <p>And I do this:</p>
  
  <pre>  <code>
  struct Something thing = {1, 2, "I'm a sentence..."};
  </code> </pre>
  
  <p>When I run my program, What I will have in memory? I means, will I have only a struct labeled 'thing' with theses values, or, will I have this struct and another copy of theses values in the code itself? I think that the compiler is smart enough to only have one copy of these values, in the struct, right? Someone knows any command to see it? I don't know debug very well...</p>
  
  <p>Thanks.</p>