This c program prints ip (internet protocol) address of your computer,
system function is used to execute the command ipconfig which prints ip
address, subnet mask and default gateway. If you are using turbo c compiler then execute program from folder, it
may not work when you are working in compiler and press Ctrl+F9 to run
your program. #include<stdlib.h>
main()
{
system("C:\\Windows\\System32\\ipconfig");
system("pause");
return 0;
}
{ 0 comments... read them below or add one }
Post a Comment