title: Difference between "endl" and "\n"
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/213907/c-stdendl-vs-n">C++: &ldquo;std::endl&rdquo; vs &ldquo;\n&rdquo;</a>  </p>
  </blockquote>
  
  
  
  <p>I'm wondering if there is any <em>significant</em> difference between these two ways to print newline :</p>
  
  <pre><code>cout &lt;&lt; endl;  //approach1
  cout &lt;&lt; "\n";  //approach2
  </code></pre>
  
  <p>Is there any practical difference?</p>