If I compile a C program using Windows 10, that program can run on Windows 7? I have another question: if I compile a C program using Windows 10 Home, that program can run on Windows 10 Pro?
CodePudding user response:
You don't compile with windows, you compile with a compiler. Where the resulting executable is able to run depends on the compiler, not which OS the compiler runs on.
CodePudding user response:
yes , you can run your program in any windows.I think knowing about compile process can help you.
CodePudding user response:
Yes, it runs in any Windows of any kind because it is a .c file that can be compiled in any Windows with an IDE. You just have to have a compiler on your Windows to compile it.