Monday, January 1, 2018

Program to display IP Address

C Program to display local IP Address.

#include<stdlib.h>
int main()
{
   system("C:\\Windows\\System32\\ipconfig");
   return 0;
}

Output of program

Program to display IP Address

Note: 
This program tested on Windows 7 OS.
Some of the details are intentionally removed for security reasons.