Program to determine the Class, Network ID, Host ID, Broadcast ID, and Default Mask ID of an IPv4 address
Input an IPv4 address. Create a C program that checks which class it belongs to. In addition, print comments for the network address, the host address, the…