When using a single cout to print the same variable updated multiple times, I am getting a weird order of updates. Can anybody explain how such updates are done?
 int value = 2;
 cout << value << value++ << ++value << endl; // 434  
 value = 2;
 cout << ++value << value++ << value << endl; // 424 
 value = 2;
 cout << value++ << value++ << ++value << endl; // 435
 value = 2;
 cout << ++value << value++ << value++ << endl; // 532
 
    