title: How can i use scanf to plug in names and receive sentences as outputs?
body: <p>I cant figure out what is wrong with my code. I want to be able to type in any of those names as the scanf function and then the words should come up that i have in the printf functions (the error occurs when i try to type in a name):     </p>
  
  <pre><code>#include &lt;stdio.h&gt; 
  #include &lt;math.h&gt;  
  
  int main()  
  {  
  
      char *Name; 
      char *Carson; 
      char *Kam; 
      char *David; 
      char *Avery; 
      char *Taylor; 
      char *Brian;  
  
      printf("Enter a name:\n"); 
      scanf("%s",Name);  
  
      printf("%s Hello Carson\n", Carson); 
      printf("%s Whats up?\n?", Kam); 
      printf("%s What are you looking at me for, I dont have any gum!!\n", David); 
      printf("%s Good luck with volleyball this weekend!!\n", Avery); 
      printf("%s Unauthorized user. Please back away!\n", Taylor); 
      printf("%s Hello user.\n", Brian);
  
      return(0);
  
  }
  </code></pre>