title: Does string in C++ have no out of bound exeption/error?
body: <pre><code>string p=&quot;a&quot;;
  cout&lt;&lt;p[4];
  </code></pre>
  <p>This piece of code doesn't give any error. Does this mean the string data type in C++ is also not bounded as are the arrays?</p>