a) x = x | (x-1)
b) x = x & (x-1)
c) x = x | (x+1)
d) x = x & (x+2)
Which of these expressions will make the rightmost set bit zero in an input integer x?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of these expressions will make the rightmost set bit zero in an input integer x?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!