Contents
What is the command to run C program in Linux?
How to compile c program in linux?
- step1:install gcc compilere first:
- step2:Write ur first C program. missouri cash advances missouri experian. #vim hello.c. # include <stdio.h> void main() { …
- step3:give execute permission to file. #chmod 777 hello.c.
- step4:run and compile it by. ? #gcc hello.c. this command will create an executable file a.out.
26 сент. 2012 г.
How do I know if C is installed on Linux?
If you want to check if the GNU GCC Compilers are install on your system, you can try to check the version of GCC compiler on Linux, or you can use which command to locate gcc or g++ commands .