title: C string(char array): ignores next scanf because of spaces
body: <p>say something like this:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  void main() {
  
    char fname[30];
    char lname[30];
  
    printf("Type first name:\n");
    scanf("%s", fname);
  
    printf("Type last name:\n");
    scanf("%s", lname);
  
    printf("Your name is: %s %s\n", fname, lname);
  }
  </code></pre>
  
  <p>if i type <code>"asdas asdasdasd"</code> for <code>fname</code>, it won't ask me to input something for <code>lname</code> anymore. I just want to ask how i could fix this, thank you.</p>