Well, according to gnu standards, it's never safe to depend on the order of evaluation of the arguements passed to a function. So the output in the above case would vary from compiler to compiler
Source: http://gcc.gnu.org/onlinedocs/gcc/Non_002dbugs.html read the second last point -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/4IBDW_MOIpAJ. 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.