title: Why is the scanf() function printing to my standard output stream? How do I suppress this behavior?
body: <p>I am compiling this code using the MinGW gcc compiler using CLion 1.0.5. I am observing weird behavior with this function, and I'm not sure if it's my compiler or IDE causing this problem. Basically, my IDE console is repeating back to me whatever I typed into the standard input stream. Here are some example inputs and outputs.</p>
  
  <pre><code>123NotAnInteger
  123NotAnInteger
  </code></pre>
  
  <hr>
  
  <pre><code>123
  123
  </code></pre>
  
  <hr>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      int age;
      scanf("%d", &amp;age);
  }
  </code></pre>