hi anybody reply please!! On May 20, 6:53 pm, siva viknesh <sivavikne...@gmail.com> wrote: > hi > > #include<stdio.h> > main() > { > int a=2,*f1,*f2; > f1=f2=&a; > *f2+=*f2+=a+=2.5; > printf("\n%d %d %d",a,*f1,*f2); > > } > > for this code ....in code blocks IDE got 8 8 8 as op > > inhttp://ideone.com/ok850got 12 12 12 > > in 175 c aps pdf it has been given as 16 16 16 as > output !!!!!!!! > > so this code also has something to do with SEQUENCE POINTS ???? > > is sequence points applicable for pointers too ?? > > the output varies based on compiler or underlying machine architecture???? > > can anybody give clear picture about sequence points and whats happening in > this code...thanks in advance :) > > -- > Regards, > $iva
-- 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.