|
|
|
Ø C is simple, powerful, flexible,
portable, structure oriented, ligh level & machine independent language.
Ø Before introducing ‘C’ here are may
languages
|
|
Evolution of C:-
|
|
ALGOL :-
Ø
It
was developed by international group in 1960. It is a type less system s/w.
Ø
It
is the root of all modern languages
|
|
BCPL :-
|
|
Ø
Basic
combined programming language
|
|
Ø
It
was developed from ALGOL in 1967 by martin Richards
|
|
Ø
It
is a typeles system s/w
|
|
Ø
It
is used primarily for writing system s/w
|
|
B:-
|
|
Ø
It
was developed from BCPL in 1970 by KenThomason
|
|
Ø
It
was type Len s/w
|
|
Ø
B
is a language adding many features to BCPL. It is very useful to create early
vesion of UNIX so. At bell laboratories
|
|
Traditional ‘C’:-
|
|
Ø
Developed
from ALGOL, BCPL, B, It in was developed by Dennis Ritchie in 1972 at bell
laboratories
|
|
Ø
It
is a middle level language
|
|
Ø
It
is a typing s/w
|
|
Ø
‘C’
added many concepts like data types & other powerful features
|
|
K & RC:-
|
|
Ø
It
was developed in the year 1978 by Dennis Ritclie & Kerningham
|
|
ANSI ‘C’:-
|
|
Ø
It
was developed by ANSI committee in 1989
|
|
ANSI ISO:-
|
|
Ø
It
was developed by Iso committee in 1990
|
|
|
|
Ø
|
|
Ø
|
1960 ®
|
ALGOL
|
®
International group
|
||
|
|
|
||
1967
|
BCPL
|
Martin
Richards
|
||
|
|
|
||
1970
|
13
|
Ken Thompson
|
||
|
|
|
||
1972
|
Traditional
C
|
Dennis Ritchic
|
||
|
|
|
||
1978
|
K &
RC
|
Kernighan
& Ritchc
|
||
|
|
|
||
1989
|
ANSL C
|
ANSI
committee
|
||
|
|
|
||
1990
|
ANSI/ISO
C
|
ISO
committee
|
||
|
|
|
||
1999
|
C99
|
Standardization
committee
|
||
|
Important
(or) features of C language
|
|||
®
|
C is a
Robus + language whose rich set of bwill—in function & operators can be used to write any
complex program
|
|||
®
|
The c
complie combines the capabilities of an assembly language with the features
of a high-level language & it in well suited for write both system
between of business packages
|
|||
®
|
Programs
written in C are efficient & fast this is due to its variety of df = &
powerful operators
|
|||
®
|
There
are only 32 key wordsin ANSCI C.
|
|||
®
|
C is
highly portable. This mean that C
programs written for one computer can be run on another with little or no
modifications
|
|||
®
|
C
language is well suited for structured programming, thus requiring the user
to think of er problem in terms of function modules (or) blocks
This modular structure makes
program debugging, testing & maintenance easier
|
|||
®
|
Another
important feature of C is its ability to extend itself. A c program is
basically a collection of function that
are supported by the C library.
We can continuously add out own function
to c library
|
|||
®
|
C
allows dynamic allocation of memory
|
|||
®
|
It is
case sensitive language
|
|||
|
Ex: 1)
WAP for printing a msg
2) WAP for printing a symbol
|