Message from C, C++ talks
but you can do
a = b = c = 5;
it will execute c = 5, the result will be 5 and it will be assigned to b, and the result of this will again be 5 and then it will be assigned to a.
in your case 0 is assigned and result (again 0) is casted into bool