Topics
Introduction
Steps to Develop a Program
History of C
Where C Stands
Getting Started with C
Structure of a C program
Execution of C Program
C - Tokens
 

Execution of C Program

 
COMPILING A C PROGRAM
            Creating an executable form of your C program consists of these three steps:
  1. Creating your program
  2. Compiling your program
  3. Linking your program with whatever function needed from the library. 
 
Compilers only accept standard text files for input.
  • The first step in executing a C program is to compile the Source program. Compilation can be accomplished by selecting the    compile menu or by pressing   ‘Alt + c ‘.
  •  A small window is displayed which gives the information of the lines compiled and the Errors &   Warnings in the program. If there are any Errors, they are to be detected. After compiling the source file, an object file with .obj extension is created.
  • Once the program is error free then we can execute the program by selecting the ‘Run’ menu or by pressing ‘Alt + R ‘. After executing a program an executable file with .exe extension is created.

 
Website Maintained by : Gowtham


Today, there have been 1 visitors (3 hits) on this page!
 
About Me :
gowthambujji@gmail.com Contact : 9949541666
 
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free