@Shubham: Google is your friend. Dave
On Jul 17, 3:22 am, Shubham Maheshwari <shubham.veloc...@gmail.com> wrote: > @Dave: could you please extrapolate on the 'sequence point rule' a bit more. > i am nt familiar with it ... > > > > > > On Sun, Jul 17, 2011 at 3:01 AM, Dave <dave_and_da...@juno.com> wrote: > > @Anthony: Your code violates the sequence point rule, which states > > that the value of a variable can change at most one time between > > sequence points, and thus your code is nonstandard. The results of > > executing nonstandard code is undefined. > > > Dave > > > On Jul 15, 3:22 pm, Antony Kotre <antonyko...@gmail.com> wrote: > > > sorry I don't know how to post new thread so posting my query here and > > > please some one tell how to do that > > > > can any tell and explain the output of following code > > > > #include<stdio.h> > > > main() > > > { int a =5, b=5; > > > int res1=(++a)+(++a)+(++a); > > > int res2=(++b)+(++b)*10+(++b)*100; > > > > printf("%d\n%d\n",res1,res2); > > > > }- Hide quoted text - > > > > - Show quoted text - > > > -- > > You received this message because you are subscribed to the Google Groups > > "Algorithm Geeks" group. > > To post to this group, send email to algogeeks@googlegroups.com. > > To unsubscribe from this group, send email to > > algogeeks+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/algogeeks?hl=en. > > -- > Shubham Maheshwari > ShubZz > O.o o.O > > enJoY ...!!!- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.