In this blog, We are going to know that how to display the ip address of the system using c programming. We can find the IP address, Gateway, Subnet Mask by typing ipconfig in command prompt. Here we are going to make a C program to display above things.In this we are using the
#include<stdlib.h> and its system() function.
system() function passes the command name by command to host the environment to be execute by command processor.