How to Execute C using Terminal ctrl+alt+T
Step 1 : To know about version
- Step 2 : Install Package
- Step 3: Set Path
· Step 4 : Compile
Explanation:
· gcc is the GNU Compiler Collection, used to compile C programs.
· calendar.c is the source file that contains your C code.
· -o abcd tells the compiler to name the output file abcd.
·
Step 5 : Show the output
No comments:
Post a Comment