Introduction of C programming language:-
: - C is a programming language developed at AT & T's Bell Laboratory of USA in 1972. It was designed and written by a man named Dennis Ritchie. In the late seventies C began to replace the more familiar languages of that time like PL/I, ALGOL, etc. No one pushed C. It wasn't made the 'official' Bell Labs language. Thus, without any advertisement C's reputation spread and it's pool of users grew . Ritchie seems to have been rather surprised that so many programmers preferred C to older languages like FORTRAN or PL/I, or the newer ones like Pascal and APL.
C seems so popular is because it is reliable , simple and easy to use. Moreover, in an industry where newer languages, tools and technologies emerge and vanish day in and day out , a language that has survived for more than 3 decades has to be really good.
Major parts of popular operating systems like Windows, UNIX, Linux is still written in C. This is because even today when it comes to performance (speed of execution) nothing beats C.
I hope that these are very convincing reasons why one should adopt C as the first and the very important step in your quest for learning programming languages.
History of C :-
C was written by Dennis Ritchie, that's why he is also called as father of C programming language. Many of C's principles and ideas were derived from earlier language B. BPCL and CPL are the earlier ancestors of B language. As many of the features were derived from 'B' language that's why it was named as 'C'. After 7-8 years, C++ came into existence.
Features of C:-
- Simple- It is simple and easy to understand the structure of program.
- Extensible- It can easily adopt new feature of other technology.
- Speed - The compilation and execution time of C language are very fast.
- Portable - It is machine independent like Assembly language. But it is not plateform independent.
- Memory management - It supports dynamic memory allocation (DMA) like new, free, delete, etc.
- Pointers -C provide pointers i.e. we can directly interact with memory.
- Recursion - We can call the function within function i.e. we can reuse the code.
- Middle level language - It support the features of low level and high level programming language, hence it is called as middle level programming language.
Applications of C language
- Database system
- Interpreter
- Compiler and Assembler
- Graphics packages
- Operating systems development
- Network drivers
- Text editors
- Modern programs
You can join me telegram channel
👇👇👇👇
Comments