// Calculates the Hamming Distance between two numbers #include <stdio.h> #include <stdlib.h> #include <stdint.h> int hamming_distance(uint32_t a, uint32_t b); int main(int argc, char *argv[]) { if (argc != 3) { fprintf(stderr, "Usage: %s <number1> <number2>\n", argv[0]); return 1; } uint32_t num1 = strtol(argv[1], NULL, 0); uint32_t num2 = strtol(argv[2], NULL, 0); printf("%d\n", hamming_distance(num1, num2)); return 0; } // given two numbers, calculate the number of bits they differ by int hamming_distance(uint32_t a, uint32_t b) { // PUT YOUR CODE HERE return 42; }