Arista Networks interview question

C program on bit operations.