// Counts the number of binary gaps in a 32-bit integer #include #include #include int count_binary_gaps(uint32_t value); int main(int argc, char *argv[]) { if (argc != 2) { fprintf(stderr, "Usage: %s \n", argv[0]); return 1; } uint32_t value = (uint32_t)atoi(argv[1]); int gaps = count_binary_gaps(value); printf("%d\n", gaps); return 0; } // given a uint32_t value, returns the number of binary gaps int count_binary_gaps(uint32_t value) { // PUT YOUR CODE HERE return 42; }