#include int main() { system("C:\\Windows\\System32\\ipconfig"); /* ipconfig command to get ip of system */ return 0; }