title: Why does cout print "2 + 3 = 15" in this snippet of code?
body: <p>Why is the output of the below program what it is?</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main(){
  
      cout &lt;&lt; "2+3 = " &lt;&lt;
      cout &lt;&lt; 2 + 3 &lt;&lt; endl;
  }
  </code></pre>
  
  <p>produces</p>
  
  <pre><code>2+3 = 15
  </code></pre>
  
  <p>instead of the expected</p>
  
  <pre><code>2+3 = 5
  </code></pre>
  
  <hr>
  
  <p>This question has already gone multiple close/reopen cycles.</p>
  
  <p>Before voting to close, please consider <a href="https://meta.stackoverflow.com/questions/342113/typo-which-leads-to-a-very-interesting-analysis">this meta discussion</a> about this issue.</p>