|
|
|
|
Where and Why is C used?. C was initially used for systems programming. A systems program forms a portion of the operating system of the computer or its support utilities. Operating Systems, Interpreters, Editors, Assembly programs are usually called systems programs. The Unix Operating System was developed using C. Today, C is being used by many programmers to program all kind of tasks because of its portabality and efficiency. There are C compilers available for almost all computers. A code written in C on a particular machine can be compiled and run on another machine by making a few or no changes. Also C compiler produce very fast object code.In addition to the above, C offers the speed of an assembly language, but few of the restrictions of a structured language. Programmers can create and maintain a unique library of functions which can be used by many different programs. Thus large projects can be managed easily, with minimal duplication of effort.
Some rules which hold for all programs written in C are as follows: |