Is the behaviour for this short code snippet unspecified?
I'm not really sure how the << operator works, but if this gets broken down into a function call I would think that it's unspecified since there's no guarantee in which order that parameters to functions are evaluated.Code:#include <iostream>
using namespace std;
int main()
{
int i = 1;
cout << ++i << i++ << --i << endl;
}