how to run c on command prompt 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