#include <stdlib.h>
int main(void) {
system("C:\\Windows\\System32\\ipconfig");
return 0;
}
/*
run:
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : ab71::9821:fs10:1234:9846%1
IPv4 Address. . . . . . . . . . . : 123.4.56.7
Subnet Mask . . . . . . . . . . . : 121.121.121.121
Default Gateway . . . . . . . . . : 123.4.5.6
*/