Why statement printf("%d%d%d",++a,a,a++) in C and = a++; System.out.printf("%d%d%d",++a,a,a++) in Java gives different output?

Because in C++ function argument associativity is right to left but in java it is left to right

Questions by lcbishnoi

Showing Answers 1 - 1 of 1 Answers

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions