Sunday 22 April 2012

Executing C Program

C Programming :

Executing a program written in C involves a series of steps. These are:
1.    Creating the program
2.    Compiling the program
3.    Linking the program with functions that are needed from the C library4.    Executing the program.
Illustrates the process of creating, compiling and executing a C program. Although these steps remain the same irrespective of the operating system, system commands for implementing the steps and conventions for namingfi/es may differ on different systems.
An operating system is a program that controls the entire operation of a computer system. All input/out operations are channeled through the operating system. The operating system, which is an interface between the hardware and the user, handles the execution of user programs.
The two most popular operating systems today are UNIX (for minicomputers) and MS-DOS (for microcomputers). We shall discuss briefly the procedure to be followed in executing C program, under both these operating systems in the following sections.

No comments:

Post a Comment