Which operator is used to take AND of two bitset variables?

a) ~
b) &
c) |
d) ^

1 thought on “Which operator is used to take AND of two bitset variables?”

  1. b
    Explanation: & operator is used as AND operator for bitset variables in C++. ANDing of two bits are 1 only if both are 1.

Leave a Comment