title: How to set a char 'a' to a char pointer array?
body: <p>I'm trying to figure out how to use pointers. </p>
  
  <p>I'm confused on how to insert an individual char to the char *line2[80] </p>
  
  <p>Is this even possible to do this without referencing the memory location of another pointer? </p>
  
  <p>My thought process is that at *line2[0] = 'a' the character 'a' will be at index 0 of the array. </p>
  
  <p>How is this different from line[0] = 'a' </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  void returnValue(void);
  
  int main(void){
      returnValue();
  
  }
  
  
  void returnValue(){
      char line[80];
      line[0] = 'a';
      line[1] = '\0';
      printf("%s",line);
  
      char* line2[80];
      *line2[0] = 'a';
      *line2[1] = '\0';
       printf("%s",*line2); //program crashes
  }
  </code></pre>