Boolean or in C and C++

conditional || conditional;
|| returns true if one or both conditions are met, that is, if at least one condition, but possibly both conditions, are true.

Related

Learn more about if statements and boolean logic