If I make a program in C and do not use any Windows library by leaving the program completely pure in C can I compile it for Linux too?
Will it work normally?
If I make a program in C and do not use any Windows library by leaving the program completely pure in C can I compile it for Linux too?
Will it work normally?
Yes, if the ANSI C standard is used, or compatible libraries, then it will be possible to compile for windows and linux.