Home » Aptitude » Alligation or Mixture

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?

Difficulty: Medium

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 = 101
3 = 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.

← Previous Question Next Question→

More Questions from Alligation or Mixture

Discussion & Comments

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