#include
int main()
{
system("C:\\Windows\\System32\\ipconfig");
return 0;
}
Output of program: ( In Windows 7)
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.
Code is only for windows xp & 7.
Only part of output is shown in image.
ความคิดเห็น