I have a situation, I want to perform a AND operation which is basically to get the next HOP IP. My IP and netmask are stored in a char array. Can someone please tell me how to perform AND on two char arrays?
1 2 3 4
char arr[] = "192.168.1.102";
char brr[] = "255.255.255.0";
// Perform AND operation of the above two