c = a,b;
"," is an operator so first evaluate " c = a " then evaluate the 2nd part of the statement "b".
d = (a,b);
first evaluate the stuff in the parentesis "( 2,6)"
From "THE C PROGRAMMING LANGUAGE" K&R:
"A pair of expressions separated by a comma is evaluated left to right, and the type...