Paul Herring wrote: > On 8/1/07, Thomas Hruska <[EMAIL PROTECTED]> wrote: >> saravanan kumar wrote: >>> hi friends, >>> >>> hw assignment operator is executing? >>> >>> for example, >>> >>> int i=1,j,k; >>> >>> i++ + (j=i); > > It doesn't look like UB Thomas - it /is/ UB :) > >> Don't do that. Looks like undefined behavior to me. Separate the above >> into multiple statements to declare your intentions.
The OP said 'hw' which usually means 'homework'...I now realize they meant 'how'. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
