output is 18 9 0 0 0 8 the same was expected.
printf uses stack when it has multiple arguments to print On Sep 18, 1:19 pm, Bhavesh agrawal <agr.bhav...@gmail.com> wrote: > another que.. > > #include<stdio.h> > main() > { > int a; > int i=10; > printf("%d %d %d\n",i+++i,i,i---i); > printf("%d\n",i---i); > a=i---i; > printf("%d \n%d",a,i); > return 0; > > } > > output: > > 18 10 0 > 0 > 0 > 8 > > how ?? -- 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.