Monday 23 January 2012

C program to extract present IP adress of ur system.......


/*AUTHOR-Neelkant.s.patil,GMIT,DAVANGERE*/
#include<stdlib.h>//LIB for system function
 
main()
{
   system("C:\\Windows\\System32\\ipconfig");//dos command and using that path it extracts the IP address
   system("pause");//to stop the control of execution so that we can see the output
 
   return 0;
}

No comments:

Post a Comment