Those lines are not exactly equivalent. Consider this example:



int a, b, i = 1, j = 2;
a = (i,j);
b = i,j;
cout << a << " " << b << endl << endl;