Advantages
Ø C language is a
base or building block for many other currently known languages.
Ø C language has
varieties of data types and
powerful operators. Due to this, programs written in C language are efficient,
fast and easy to understand.
Ø C is highly
portable language. C programs written for one computer can easily run on another
computer without any change or by doing a little change.
Ø There are only
32 keywords in ANSI C and its strength lies in its built in functions. Several
standard functions are available for developing programs.
Ø Another
important advantage of C language is its ability to extend itself.
A C
program is basically a collection of functions that are supported by the C
library this makes us easier to add our own functions to C library. Due to the
availability of large number of functions, the
programming task becomes simple.
Ø C Programming is
a structured programming language. This makes developers to think of a problem
in terms of function modules or blocks. The Collection of these modules makes a
complete program or software. This modular structure makes program debugging,
testing and maintenance more easier.
C vs C++ |
Disadvantages
Ø There is no
runtime checking in C language.
Ø There is no
strict type checking. For example, we can pass an integer value for
the floating or character data type.
Ø C does not
have concept of OOPs, that’s why C++
is developed.
Ø C does not have
the concept of namespace.
Ø C does not have
the concept of constructor or destructor.