title: passing char buffer to functions and getting the size of the buffer
body: <p>I have set the buffer to size 100.
  I display the buffer in the main function where the buffer is declared.
  However, when I pass the buffer to the function and get the sizeof '4',
  I was thinking it should be 100, as that is the size of the buffer that I
  created in main. 
      output:
      buffer size: 100
      sizeof(buffer): 4</p>
  
  <pre><code>#include &lt;string.h&gt;
  #include &lt;stdio.h&gt;
  
  void load_buffer(char *buffer);
  
  int main()
  {
      char buffer[100];
      printf("buffer size: %d\n", sizeof(buffer));
      load_buffer(buffer);
  
      return 0;
  }
  
  void load_buffer(char *buffer)
  {
      printf("sizeof(buffer): %d\n", sizeof(buffer));
  }
  </code></pre>