[Solved] Execution of C in linux [closed]


On linux and MacOs (Unix System) the files have the extension .c and to execute this you should compile them with

gcc -o myprog myprog.c

after it a binary file .o will be product and after you can run it with the file : myprog

by using this line of command :

./myprog

see how linux work if you are interesting by this you can read about Linux things like POSIX

I hope I have explain you the best way. (sorry i’m french 🙁 )

solved Execution of C in linux [closed]