HackerRank Bitwise operators problem solution in c - TheCScience