LG Soft India Interview Question

Questions about bitwise operators and codes on it