Difference between bitwise a d logical operator-
1. Bitwise operator works on bit whereas logical operator works on statement.
2. Bitwise and is represented by & whereas logical and is represented by &&.
3. Bitwise or is represented by | whereas logical or is represented by ||.