compile c file in linux code example
Example 1: how to run c file in linux
gcc fileName.c -o fileName //compiles it
./fileName //runs it
Example 2: execute c program in linuz
$ ./programName
gcc fileName.c -o fileName //compiles it
./fileName //runs it
$ ./programName