compile c file in command prompt code example
Example 1: How to run C program using command
gcc <file-name.c> -o <output-file-name>
Example 2: how to compile c code to a .so
gcc -shared -o libhello.so -fPIC hello.c
Example 3: how to run c in linux
gcc hexdump.c -o hexdump //hexdump is an example for a file name