i
Bhive Design
Filter interviews by
I applied via Referral and was interviewed before Sep 2022. There were 2 interview rounds.
To swap bits from 1 and 4 position, we need to use bitwise operators.
Use bitwise AND operator with 0x0E to get the value of the 4th bit.
Use bitwise AND operator with 0x01 to get the value of the 1st bit.
Use bitwise XOR operator to swap the values of the 1st and 4th bits.
Use bitwise OR operator to combine the swapped bits with the remaining bits.
Tata Electronics
Intel
Qualcomm
Apar Industries