KwickClips C · 43 sec · free
What does gcc do?
Short answer. It compiles and links the program.
How do you run the result?
Type ./hello.
Remember
| Save the file as .c |
| gcc compiles and links |
| ./hello runs it |
Wrote your first C program? Here is how to run it. Save it as hello dot c. Type g c c hello dot c, dash o, hello. Then dot slash hello runs it. Save as dot c. G C C compiles and links. Dot slash runs it.
This clip is from the full lesson: Introduction to C: Structure and Life Cycle of a C Program — 8 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: GSEB Std 10 Computer Studies, Programming All levels C, Programming All levels C, Programming All levels C
More KwickClips from this lesson
Why is C still used?42 sec
Where does a C program start running?41 sec
Which file does compiling make?44 secVoice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.

