General Motors (GM) Interview Question

2 OA questions about Bitwise-Operation