Intel Corporation Interview Question

write a code to count how many zeros there are in a number in binary representation