title: fwrite doesnt print anything to stdout
body: <p>When I run this small code and enter 3 integers on the console, it doesn't print out as it should due to the fwrite statement. It prints only after I keep hitting enter for some time. Help?
  P.S: Learning faster ways than scanf and printf.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main(){
      int size[3];
      fread(&amp;size,sizeof(int),3,stdin);
      fwrite(&amp;size,sizeof(int),3,stdout);
      fflush(stdout);
      return 0;
  }
  </code></pre>