include <stdio.h>unsigned int ip_addr(const char *ip){int a, b, c, d;if (sscanf(ip, "%d.%d.%d.%d", &a, &b, &c, &d) == 4){return (a << 24) | (b << 16) | (c << 8) | d;}return 0;}int main(){printf("0x%08X\n", ip_addr("192.168.1.100")...