‘C’ Programming Language
‘C is one of the most popular programming language, it was developed by Dennis Ritchie at AT (T’s Bell Laboratories at USA in 1972. It is an upgraded version of two earlier languages, called BCPL and B, which were also developed at Bell laboratories.
‘C’ Programming Language Study Material
Features and Applications of ‘C’ Language:
- ‘C’ is a general purpose, structural programming language.
- ‘C’ is powerful efficient, compact of flexible.
- ‘C’ is highly portable.
- ‘O is a robust language whose rich set of built in functions and operators can be used to write any complex program.
- ‘C’ has the ability to extend itself.
- ‘C’ is well suited for writing system software as application software.
- ‘C’ programe can be run on different systems of the different computers with little alteration.
- ‘C’ is a middle level language, it supports both the low level language and high level language features.
Synopsis:
- Structure of a C program
- Programming Rules in ‘C’ Language
- C’s Character set
- Identifiers
- Keyword
- Data type
- Variables
- Constants
- Delimeters
- Statements
- Arrays
- Pointers
Programming Rules in ‘C’ Language:
i) All statements in ‘C’ program should be written in lower case letters. Upper case letters are only used for symbolic constants.
ii) Blank spaces may be inserted between the words. It is not used while declaring a variable, keyword, constant and function.
iii) The program statement can write anywhere b/w the two braces following the declaration part
iv) The user can also write one or more statements in one line separating them with a semicolon