using 16 bit compiler e.g turbo c++
int a = 10;
cout << a << a++ << ++a;
Output 121111
When using 32/64 bit compiler or any online compiler
Output: 101012
Why this is happening I'm aware about associativity and precedence is it due to the compiler version or c++ version ?