Introduction to OR Operator

Let's see another Bitwise operator 'OR'. This outputs 1 unless both inputs are 0.

What is the Bitwise OR operator?

This is the same as the OR gate we studied in the digital electronics chapter, as shown below:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.