how to write an or in c++

C++
if (a == 0 || b == 0)
{
  //statement here, || was used as an or
}
Source

Also in C++: