Wit only using Bitwise operations, write a program that returns the number of zeros in a binary number. Like 01010010 will return 5.
Anonymous
Think popcount and use its inverse: uint16_t num = 0x1F0A; numZeros = sizeof(num) * CHAR_BIT - popcount(num);
Check out your Company Bowl for anonymous work chats.