Introduction
C programming was introduced by American computer scientist Dennis Ritchie in 1970s. It is also called mother language because of it is the basic language.
The root of all modern lannguage is ALGOL, introduced in the early 1960s. C was evolved from ALGOL,BCPL and B by Dennis Ritchie at the Bell laboratories in 1972. Since it was developed along with the UNIX operating system. It is strongly associated with UNIX. ALGOL was the first computer language to use a block structure. In 1967, Mortin Richards developed a language called BCPL(Basic Combined Programming Language) primarily for writing system software. In 1970 Ken Thompson created a language using many features of BCPL and called it simply B. B was used to create early versions of UNIX operating system at Bell Laboratories.
C was developed from ALGOL, BCPL andn B by Dennis Ritchie at the Bell Laboratories in 1972. Since it was developed along with the UNIX operating system. It is strongly associated with UNIX. To assure that C language remains standard in 1983, American National Standards Institute (ANSI) appointed a technical committee to define a standard for C.
Why should we learn C
C
helps you to understand the internal architecture of a computer, how computer stores and retrives information. Now a days every citizen are trying to learn to C
language. After learning C
it will be easier to learn other programming languages like Python, Java, C++ etc... The biggest reason to learn C over assembly language is because it's much easier and faster to write code in C than in assembly language for a given programming task.
What are the uses of C
- C is one of the oldest and most fundamental programming languages, and it is extensively used all over the world
- C is a fast, portable language with a large library.
- It is a middle-level language with the advantage of both low-level and high-level languages.
- C is a powerful programming language that can be used for various applications.
- C is a very efficient language that can write code that is both fast and reliable.
- C is a portable language, meaning that code written in C can be easily compiled and run on various platforms.
- C is a well-established language with a large and active community of developers constantly working on improving and creating new tools and libraries
Steps involved in Executing a C program
- Creating the program.
- Compiling the program.
- Linking the program with Functions that are needed form the C library.
- Executing the program
Advantages of C
- The code written in
C
language is simple to write and understand - In the C programming language 32 reserved Keywords are built-in for easy and learning and execution.
- Built-in functions makes the code easier to write.
C
is a middle-level language. It is convenient to develop an appliaction that falls in low or high or assembly level language.C
language helps to develop system software and operating system in easier way.
Disadvantages of C
- It is a case-sensitive language
- C language does not support OOPs concept. It is a procedure-oriented language