In a 40 litre mixture of alcohol & water, the ratio of alcohol and water is 5 : 3. If 20% of this mixture is taken out and the same amount of water is added then what will be the ratio of alcohol and water in final mixture?

Aptitude Alligation or Mixture Difficulty: Medium
Choose an option
  • A
    Reference operator
  • B
    Logical AND operator
  • C
    Bitwise AND operator
  • D
    Address-of operator

Answer

Correct Answer: Bitwise AND operator

Explanation

The symbol & in programming languages like C and C++ is primarily used as the bitwise AND operator.

  • Bitwise AND compares each bit of two numbers and returns a new number with bits set to 1 only if both bits were 1.
  • For example: 5 & 3 results in 1 because:
 5 = 1013 = 011& = 001 → 1

Note: In C/C++, the & symbol is also used as the "address-of" operator in certain contexts, but unless specified otherwise, the standard meaning is bitwise AND.

Discussion & Comments
No comments yet. Be the first to comment!
Join Discussion