[algogeeks] Can anyone plz explain how we get this output

2012-06-14 Thread Ajesh js
main() { int a=10,b=5; printf(%d %d %d\n,a++,a,++a); printf(%d %d %d\n,++b,b,b++); } output 11 12 12 7 7 5 -- 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

Re: [algogeeks] Can anyone plz explain how we get this output

2012-06-14 Thread Nishant Pandey
this is something which is compiler dependent ,its answer may vary depending upon the implementation of compiler . On Thu, Jun 14, 2012 at 11:41 AM, Ajesh js coolajes...@gmail.com wrote: main() { int a=10,b=5; printf(%d %d %d\n,a++,a,++a); printf(%d %d %d\n,++b,b,b++); } output