Characteristics & Importance of C:
§ It is a robust language whose rich set of built-in functions and
operators can be used to write any complex program.
§ The C compiler combines the capabilities of an assembly language
with features of high-level language and therefore it is well suited for
writing both system software and business packages.
§ Programs written in C are efficient and fast. This is due to its
variety of data types and powerful operators. There are only 32 keywords and
its strength lies in its built-in functions. Several standard functions are
available which can be used for developing programs.
§ C is highly portable. This means that C programs written for one
computer can be run on another with little or no modification.
§ C Language is well suited for structured programming, thus
requiring the used to think of a problem in terms of function modules or
blocks. A proper collection of these modules would make a complete program.
This modular structure makes program debugging, testing and maintenance easier.
§ ‘C’ code can be
organized as a collection of one or more functions.
§ It facilitates low level programming.
§ It supports pointers to refer computer memory,
array, structures, and functions.
§ ‘C’ is a core language. That means, as many
other programming languages such as C++, Java or Perl are based on ‘C. If one
knows C, learning other computer languages become much easier.
§ C is an extensible
language as it enables the user to add own functions to the C library.
§ Another important feature of C is its ability to extend itself. A C
Program is basically collection of functions that are supported by the C
library. We can continuously add our own function to C library. With the
availability of a large number of functions, the programming task becomes
simple.
USES OF C:
C
language is primarily used for system programming. The portability, efficiency,
the ability to access specific hardware addresses and low runtime demand on
system resources makes it a good choice for implementing operating systems and
embedded system applications.
C
has been so widely accepted by professionals that compilers, libraries, and
interpreters of other programming languages are often implemented in C.
For
portability and convenience reasons, C is sometimes used as an intermediate
language by implementations of other languages. Example of compilers which use
C this way are BitC, Gambit, the Glasgow Haskell Compiler, Squeak, and Vala.
C
is widely used to implement end-user applications
Comments
Post a Comment