how to run c program in windows 10 using cmd code example
Example 1: How to run C program using command
gcc <file-name.c> -o <output-file-name>
Example 2: compile c file in command prompt windows
cl program.c
gcc <file-name.c> -o <output-file-name>
cl program.c