aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C Programming - 2
  • If a = 0x6db7 and b = 0xa726, then what is the value of a...
Multiple choice

If a = 0x6db7 and b = 0xa726, then what is the value of a & b?

  1. 0xca91

  2. 0x6db7

  3. 0xab92

  4. 0x2526

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Performing a bitwise AND (&) on 0x6db7 and 0xa726: 0110 1101 1011 0111 AND 1010 0111 0010 0110 equals 0010 0101 0010 0110, which is 0x2526.

Keep practicing — related questions

  • If a = 0x6db7 and b = 0xa726, what is the value of a ^ b?
  • If a=5 and b=8, what is the value of a & b?
  • Find the binary value of (1A03)16.
  • What is the value of a & b after the following two statements are executed? int a=10; int b=a++ * ++a;
  • $1.)\ a^2-7a+12=0$ $2.)\ b^2-3b+2=0$ to solve both the equations to find the values of $a$ and $b$ and choo...
  • If the roots of the equation $2x^2-5x+c=0$, $a,b$ are in the ratio of $2:3$, then find the value of b?
  • Arrange the following characters in ascending order according to their ASCII value. b, A, (z-A), 0, Z
  • A, B and C were partners sharing profits in the ratio 5 : 4 : 1. 'A' retired and new ratio was decided as 3...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy