Say I have 2 comparison
if ((length >= 524288) | (length == 0))
{
//do something...
}
vs
if ((length >= 524288) || (length == 0))
{
//do something...
}
are these the same thing since when you bitwise OR 0001 0000 it turns into 1? Also is there any particular reason to use bitwise OR in this situation?