Loading...
Engaged employer
Bit manipulation question - given 32 bit integer, return the bits between 24th and 27th bit position
Anonymous
#define BIT24TO27(x) (x>>24 & 0xF) this macro will give you desired result.
You have to use left shift and right shift operator
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.