What is the difference between bitwise and logical OR operations when it comes to boolean variables in C++? In the integer domain, it is clear but when it comes to boolean is there any performance advantage or behavioral change between both of them?
bool VAR = TRUE , BOOL VAR2= TRUE
Is there a difference in VAR | VAR2 & VAR || VAR2