title: Why cout.put() doesn't work properly in stream?
body: <p>Why program results are diffentent in such 2 cases?</p>
  
  <p>case 1)</p>
  
  <pre><code>cout&lt;&lt;"using cout.put(c): "&lt;&lt;cout.put(c);
  cout.put('!');
  </code></pre>
  
  <p>case 2)</p>
  
  <pre><code>cout&lt;&lt;"using cout.put(c): ";
  cout.put(c);
  cout.put('!');
  </code></pre>
  
  <p>in case 1) is:
  using cout.put(c): 0x477864!</p>
  
  <p>in case 2) is:
  using cout.put(c): U!</p>