Question: what is the difference between bitwise unary and logical operators?
Answer: What are the differences between bitwise and logical AND operators in C/C++? A Bitwise And operator is represented as '&' and a logical operator is represented as '&&'. ... a) The logical and operator '&&' expects its operands to be boolean expressions (either 1 or 0) and returns a boolean value.