Home > Net >  Can I compile a C program on one version of Windows and then run it on another version of Windows?
Can I compile a C program on one version of Windows and then run it on another version of Windows?

Time:11-28

If I compile a C program on Windows 10, can that program run on Windows 7?

If I compile a C program on Windows 10 Home, can that program run on Windows 10 Pro?

CodePudding user response:

yes , you can run your program in any windows.I think knowing about compile process can help you.

CodePudding user response:

You don't compile with Windows, you compile with a compiler. Whether the resulting executable is able to run or not depends on the compiler, not which OS the compiler runs on.

  • Related