C - Language Theory
Introduction
Dennis Ritchie - 1941 - 2011
C is a general-purpose, procedural programming language. It is fast, portable and available in all platforms. It was developed at AT & T’s Bell Laboratories of USA in 1972 by Dennis Ritchie. It was mainly developed as a system programming language to write an operating system. Like syntax of Java, PHP, JavaScript, and many other languages are mainly based on C language. It is low level programming language close to machine level language. It is widely used in the software development field.
History of C language
The base or father of programming languages is 'ALGOL.' It was first introduced in 1960. 'ALGOL' was used on a large basis in European countries. 'ALGOL' introduced the concept of structured programming to the developer community. In 1967, a new computer programming language was announced called as 'BCPL' which stands for Basic Combined Programming Language.
Structure of C program
Example program :
Applications
- It is used for developing system applications.
- It is widely used in embedded systems and desktop applications.
- It is used for developing desktop as well as mobile phone's operating system.
Keywords
There are only 32 keywords available in 'C'
Auto | Double | Int | Typedef |
Break | If | Long | Return |
Case | Else | Register | Union |
Char | Enum | Short | Unsigned |
Const | Extern | Signed | Void |
Continue | Float | Static | Sizeof |
Default | For | Struct | Volatile |
Do | Goto | Switch | While |