How to execute a C program

Post on 20-Jul-2015

215 views 2 download

Tags:

transcript

http://computerprogramminginclanguage.blogspot.in/

A compiler is a program / tool that converts source code (Program) into Object Code (Binary Code)

A Linker is a program in which links the program to the corresponding libraries needed for executing a program.

Step 1: Open Notepad/ C IDEStep 2: Edit a Program in Notepad / new

program in C IDE *Alt+F NewStep 3: Save the Program with prgname.c *F2Step 4: Edit the Program

Step 5: Compile the program using C Compiler *Alt+F9Step 6: Execute the Program *Ctrl+F9Step 7: If any Errors Edit the Source code and

repeat the steps 2,3,4Step8: Program Executed successfully see the

result on the screen *Alt+F5

Step 1: Open Notepad/ C IDEStep 2: Edit a Program in Notepad / new

program in C IDE *Alt+F New

For More information visit us at http://computerprogramminginclanguage.blogspot.in/