title: C bytes of a char pointer in memory
body: <p>I would like to count how many bytes a char pointer takes in memory.
  The pointer points to a string with 100 chars.</p>
  
  <p>According to the following program a char needs 4 bytes</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main(void)
  {
    char b;
    b = 'b';
    printf("%p\n",&amp;b);
  
    system("pause");
    return 0;
  }
  </code></pre>
  
  <p>Is it the same for pointers?
  So it's 400 bytes saved in memory for a string of 100 chars?</p>