Explain the process of Creating, Compiling and Execution of a C Program.(5M)
Answers
Answered by
13
The process of creating, compiling, and executing a C program can easily be completed using the following steps-
- To Create a C program, Open Command Prompt and then type - cd c:\TC\bin and press Enter. After that type TC and press Enter.
- Click on File, and then open New in the C Editor window
- Write the relevant code for your program.
- After writing the code save the program with a suitable name, for example, new.c.
- Compile your code using the shortcut Alt+F9. Compilation is the process of converting high-level language into low-level language.
- For Execution we use the shortcut key Ctrl + F9, in a C program. When we press Ctrl + F9, the .exe file is sent to the CPU. The CPU performs the task according to the program written. The result is generated and placed on User Screen.
Similar questions