As printing will start from left side to right side in cout function, why these types of commands printing differently? please explain me. According to my knowledge the output of the following program should be 113 but it is 322. How?
#include<iostream.h>
void main()
{
int i=1;
cout<<i<<i++<<++i;
}
Output:
322