On Mon, Jul 25, 2011 at 8:22 PM, Arshad Alam <alam3...@gmail.com> wrote: > what would be the output of the below program give little explanations > > #include<conio.h> > #include<stdio.h> > #define PRODUCT(x) (x*x) > void main() > { > int i=3,j,k; > j=PRODUCT(i++); > k=PRODUCT(++i); > printf("\n%d %d",j,k); > getch(); > } >
9 49 Regards, B.C.Someshwar -- 'Talk sense to a fool and he calls you foolish.' - Euripides My Blog: somsekaran.wordpress.com -- 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.