title: Which is preferable - printf or fprintf
body: <p>I know that both of the functions can be used to output to the console.<br>
  I read <a href="https://stackoverflow.com/questions/4627330/difference-between-fprintf-printf-sprintf"><strong>that question</strong></a>, but no one didn't tell which is prefered to be used when outputing to the console.
  So which function is better, are there any major differences?</p>