C Programming language: A Modern Approach book notes. How to run c programming via mac terminal Using gcc to compile the c programming to the execute file.(Linux/Mac = > .out Windows => .exe) > gcc [file_name].c -o [filename] Run execute file via terminal > ./[filename].out