compile c gcc code example
Example 1: compile with gcc
#Copy and paste this line in your terminal to compile your file with gcc
gcc -Wall filename.c -o filename
#To execute the file
./filename
Example 2: how to compile c code to a .so
gcc -shared -o libhello.so -fPIC hello.c