how to 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: how to run c in linux
gcc hexdump.c -o hexdump //hexdump is an example for a file name
Example 3: execute c program in linuz
$ ./programName