run c file terminal 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
gcc fileName.c -o fileName //compiles it
./fileName //runs it
gcc hexdump.c -o hexdump //hexdump is an example for a file name