C-
programming Language:
What
is C- Programming language?
C
programming is the general purpose programming language, which was developed by Dennis Ritchie between 1969 and 1973 at AT&T Bell
Labs.
Why
C- Language is popular?
1.portability:
Before C- programming language,
there were many languages are used. Comparing with all other
languages with C programming language, C has many advantages. To
explain this, read the fallowing.
Consider you are a programmer and
you got a project to design an ATM machine To complete your project
you have to select fallowing
- Hardware specification
- Software specification
consider
you are selected an ARM processor. These processor is having an
instruction set, which is written as per the hardware configuration.
All
the hardware are connected properly as per the project. Now you have
to write a program in to that ARM processor. For that you are now
selected assembly language other than C program and the project is
running successfully.
After
some days the people wants to use some new features and more speed of
operation. To reach that speed of operation you have to change the
hardware configuration.
After
changing Hardware configuration, your program is in assembly level.
So, after changing hardware (Processor) you have to change
instructions. That means you have to analyze all the program from top
to bottom. This will take long time and which is waste of time.
But
writing program in C language, we can simply change the library files
those are included in header file. Because the Main logic is same.
2.
Modularity
We
can split the C program in to many modules instead of repeating the
same logic statements.
3.
General purpose programming language:
C
can be used any king of applications such as math's oriented,
graphics and business oriented applications.
4. Powerful Programming Language:
C
programming language is best for data structures and designing system
software.