title: Is ++*ptr++ undefined behaviour in c++?
body: <p>I have been asked the following question in a test (I didn't want to write it myself. The test asked it. I know its bad code still) about evaluating ++*ptr++</p>
  
  <pre><code>int Ar[ ] = { 6 , 3 , 8 , 10 , 4 , 6 , 7} ;
  int *Ptr = Ar  ;
  cout&lt;&lt;++*Ptr++  ;
  </code></pre>
  
  <p>However, I suspect this is undefined behavior since it can be both <code>(++*ptr)++</code> or <code>++(*ptr++)</code>. 
  Is it? I am not too well acquainted with documentation so I couldn't find anything.</p>