You are on page 1of 10

nitroductlon to C:

History of C
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 i s a structured oriented language.
Let's see the programming languages that
were developed before Clanguage.
ALGOL 60 CPL

BCPL
History of C

Year Language Developed By


1960 ALGOL International Group

1967 BCPL Martin Richard

1970 B Ken Thompson

1972 Traditional C Dennis Ritchie

1978 K&RC Kernighan& Dennis Ritchie

1989 ANSIC ANSI committee

1990 ANSIISO C ISO committee


It was developed to overcome the
problems of previous languages such as
B, BCPL, etc.
C language was developed to be used
in UNIX operating system.
It inherits many features of previous
languages such as B and BCPL (Basic
Combined Programming Language).
HPORTANCE OFC
PROGRAMMING
1. Robust- the ability of a computer system to cope with
errors during execution and cope with erroneous input.
2. Suited for writing both system software and business
packages
3. Efficient and fast. Faster than BASIC
4. 32 keywords in ANSI C, built functions
5. Highly portable if you write a C code in your machine,
it will run on any machine which supports C
6. Structured programming
7. Ability to extend itself
Tnnportance ofC Programming
C is robust language and has rich set of built-in
functions, data types and operators which can be used
to write any complex program.
Program, written in
Care efficient due to availability of
several data types and operators.
C has the capabilities of an assembly language (low
evel features) with the feature of high level language so
it is well suited for writing both system software and
application software.
Cis highly portable language i.e. code written in one
machine can be moved to other which is very important
and powerful feature.
C supports low level features like bit level programming
and direct access to memory using pointer which is veryY
useful for managing efficiently.
resource
C has high level constructs and it is more user friendly
as its syntaxes approaches to English like language.
Steps in learning English
Alphabets Words SentencesParagraphs

Steps in Learning C
alphabets Special
numbers
symbolss
instruction
variables keywords constants

A group of instructions would be combined later on to form a program


Example:
Void main)

int a=10;
printf(" 9/%d", a);
collection of the instructions
program necessary to solvea specific problem

instruction set
basic operations of a computer
system

approach or method that is used to


Algorithm solve the problem
Suructure of C programming
Documentation Section

LinkSection
Definition Section
Global Declaration >econ
main 0 Function Section

Declaration Section

Executable Part

Subprogram Section
Function
Functionz

Function n

You might also like