if (strcmp(name, "bruce"), age != 1 && age != 40)
here strcmp(name, "bruce ") is compared and output could be 0 or 1,
so if() is like
if(0, age != 1 && age != 40)
comma operator execute left to right so rightmost value is assigned to if statement , so instruction is actually converted into
if(age != 1 && age != 40)
so that it is not showing any error.