run a c program in terminal code example
Example 1: How to run C program using command
gcc <file-name.c> -o <output-file-name>
Example 2: run c program in mac terminal
gcc -o runme hello.c
./ runme
gcc <file-name.c> -o <output-file-name>
gcc -o runme hello.c
./ runme