Write a program to validate a given IPv4 address and show whether it is valid or not valid.

Write a program to validate a given IPv4 address and show whether it is valid or not valid.

From the RPGCL Assistant Manager (ICT) 2022 – Written (BUET) exam, question 5 of 9.

More from this paper