Introduction of C Language
C language Tutorial with programming approach for beginners and professionals, the C language tutorial easily.
helps you to understand Our C tutorial explains each topic with programs.
C programming language was developed in 1972 By Dennis Ritchie at Bell Laboratories of AT&T (American Telephone & Telegraph)
located in the U.S.A.
C programming is a general purpose high level programming language. “Dennis Ritchie” develop it at AT’s and T’s Bell
laboratories of USA in 1972. C programming became very popular as a high level programming language.
C is often called middle level language because it combines the best element of low level language or machine language with high level language.
C language is a powerful computer programming language which can be used to create different kind of applications or system software for different platforms. The application which we can create in C language could be as simple, small as a video player and as a big, complex as an Operation System or a computer game.
C language is also mainly considered as a low-level programming language which also provides low-level access to memory locations and registers of a computer. It is not just easy to code in C language but its programs are very fast to execute, efficient and easily maintainable.
It can be defined by the following ways:
- System programming language.
- Procedure-oriented programming language.
- Structured programming language.
- Mid-level programming language
System programming language
A system programming language is used to create system software. C language is a system programming language because it can be used to do low-level programming (for example driver and kernel). It is generally used to
create hardware devices, OS, drivers, kernels, etc. For example, Linux kernel is written in C. It can't be used for internet programming like Java, .Net, PHP, etc
C as a procedural language
A procedure is known as a function, method, routine, subroutine, etc. A procedural language specifies a series of steps for the program to solve the problem. A procedural language breaks the program into functions, data structures, etc.
C is a procedural language. In C, variables and function prototypes must be declared before being used.
C as a structured programming language
A structured programming language is a subset of the procedural language. Structure means to break a program
program into parts or blocks so that it may be easy to understand. In the C language, we break the program into functions. parts usingIt makes the program easier to understand and modify.
C as a mid-level programming language
C is considered as a middle-level language because it supports the feature of both low-level and high-level languages. C language program is converted into assembly code, it supports pointer arithmetic (low-level), but it is machine independent (a feature of high-level).
A Low-level language is specific to one machine, i.e., machine dependent. It is machine dependent, fast to run. But it is not easy to understand. A High-Level language is not specific to one machine, i.e., machine independent. It is easy to understand.
Importance of C Programming Language
- C language is a very simple language.
- There is only 32 keywords so it is easy to learn.
- C language is highly portable.
- C is middle level language.
- C is very fast execution speed.