Reverse of the logical operator AND (&)

boolean-logic, logical-operators

Solution

There is no such operator, because it will be ill-defined if it exists:

so, let `a = 0, c = 0`

we have

a & 0 = c
a & 1 = c

then, we should have

c ?? a = 0   and  c ?? a = 1

, but an operator/function cannot return two values given the same input/parameters.

Problem

``` a + b = c c - a = b ``` Ok, now ``` a & b = c c ?? a = b ``` which operator replace "??" ? Thanks

Original source