aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C Programming Fundamentals
  • If a=5 and b=8, what is the value of a & b?
Multiple choice

If a=5 and b=8, what is the value of a & b?

  1. 0000

  2. 1101

  3. 0101

  4. 1000

  5. 1111

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

Change a and b in binary a=0101, b=1000 a & b=0000

Keep practicing — related questions

  • If a=5 and b=7, then a | b is __________.
  • If a=10 and b=20, what is the value of c=a>b?
  • A, B and C were partners sharing profits in the ratio 5 : 4 : 1. 'A' retired and new ratio was decided as 3...
  • class Test1 { public int value; public int hashCode() { return 42; } } class Test2 { public int value; publ...
  • The length of the sides are a, b and c in a triangle are related as $|a|^2 + |b|^2 = 5|c|^2$. The median dr...
  • What will be the output of the program? String a = "newspaper"; a = a.substring(5,7); char b = a.charAt(1);...
  • Which of the following modes results in three byte instruction, and first byte contains the instruction its...
  • Consider the following statements regarding 7-Segment LED Display. (a) Used for displaying numbers only (b)...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy