On 8/2/07, Thomas Hruska <[EMAIL PROTECTED]> wrote: > 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'.
Ah - you need txtSpk2.0 installing then Thomas... homework is h/w. ;) Not that we usually get people explicitly telling us that what their question relates to /is/ homework... -- PJH "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." -- Stephen Roberts
