title: scanf validation C
body: <p>will this actually verify my users input has only two elements then a newline?</p>
  
  <pre><code>char newline
  scanf(" %s %s%c", out, in, &amp;newline);
  if(newline != '\n'){
    error();
  }
  </code></pre>