Requirements
- Any Linux distributions installed (ex: Red hat, Fedora, Ubuntu etc.)
- Any text editor ex: Gedit.
- More importantly Gnu C Compiler i.e., GCC.
- The terminal.
Step1: Write the c program and save it as EXAMP.C in Home directory.
Step2: Open The Terminal.
Step3: Write as follows
GCC EXAMP.C
Now the c file has got compiled, loaded and linked and the executable file A.OUT is created.
Step4: To execute the program you have written just give.
./A.OUT
You will see the output of the program on the screen.
IF NOT CLEAR
JUST FOLLOW THE SNAP SHOTS SHOWN BELLOW.
AND Enjoy the programming