how to run c program in terminalrny code example Example: How to run C program using command gcc <file-name.c> -o <output-file-name>