title: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘char (*)’
body: <p>I am trying to run a simple C program but I am getting this error:</p>
  
  <blockquote>
    <p>warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘char (*)[20]’</p>
  </blockquote>
  
  <p>Running Mac OSX Mountain Lion, compiling in terminal using gcc 4.2.1</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      char me[20];
  
      printf("What is your name?");
      scanf("%s", &amp;me);
      printf("Darn glad to meet you, %s!\n", me);
  
      return (0);
  }
  </code></pre>