In C/C++ programming language the logical value false is associated to 0, any different value means true.
Because of that, the effect of the global logical operators is, as we know from the mathematical logic: