Create a file hello.c :
gcc hello.c -o hello.exe hello.exe
Windows 10 does not include a native C compiler. To compile and run C programs, a third-party compiler toolchain must be installed. This paper evaluates the most common options—MinGW-w64 (via MSYS2), Microsoft’s own MSVC compiler, and TDM-GCC—and provides step-by-step instructions for the recommended approach (MinGW-w64). c compiler download for windows 10