title: C argv pointer type
body: <p>I'm confused as to how to use pointers to get this code to work:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main(int argc, char *argv[]){
  
      char* test = argv[1][0];
      printf("hello %s\n", test);
  }
  </code></pre>
  
  <p>Here is the error:</p>
  
  <pre><code>incompatible integer to pointer conversion initializing
    'char *' with an expression of type 'char'; take the address with &amp;
    [-Wint-conversion]
  </code></pre>