this is the program , #include<stdio.h> int main() { int z=0,x=3; z = x++ + x++; printf("%d %d",z,x); return 0; }
i though the output would be 7,5 , but when i ran the code it was 6,5 , can anyone tell me how this o/p is obtained . thanx in advance -- 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.