0% found this document useful (0 votes)
46 views

Overview of C Language and Environment: Topic No. 03

Js
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Overview of C Language and Environment: Topic No. 03

Js
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Topic No.

03

Overview of
C Language and
Environment
Learning Outcomes
At the end of the lesson, you are expected to:
1. Explain briefly the history of C Language
2. Discuss the uses of C Language
3. Describe the features of C Language
4. Identify and use C environment and its parts.
History of C Language

C was developed at Bell Laboratories in 1972 by their


employee named Dennis Ritchie. Many of its principles
and ideas were taken from the earlier language B and B’s
earlier ancestors BCPL and CPL

CPL (Combined Programming Language) was


developed with purpose of creating a language that was
capable of both high level, machine independent
programming and would still allow the programmer to
control the behavior of individual bits of information.
History of C Language

BCPL (Basic CPL) was developed by Martin Richards


in 1967 to create a scaled down version of CPL while still
retaining its basic features

In 1970, Ken Thompson, while working at Bell Labs,


took his process further by developing the B Language. B
was a scaled down version of BCPL written specifically for
use in systems programming.
History of C Language

In 1971-1973, Dennis M. Ritchie turned the B


Language into the C Language, keeping the most of the
language B syntax while adding data-types and many other
changes.

C language had a powerful mix of high level


functionality and the detailed features required to program
and operating system.
History of C Language

The ANSI C made little changes on the original design


of the C language. They had to make sure the old programs
still worked in new standards. Later on, the ANSI C
standard was adopted by the International Standards
Organization (ISO). The correct term should therefore be
ISO C, but everybody still calls it ANSI C.
DENNIS M. RITCHIE
Born : September 9, 1941
Profession : Computer Scientist
Place : Bell Laboratories, USA
Known As : Father of C & UNIX
Died : October 12, 2011
Awards : Turing Award(1983), National Medal of
Technology(1998), IEEE Medal(1990),
Computer Pioneer Award(1994),
Computer History Museum
Fellow(1997), Harold Pender
Award(2003)
Let’s see the programming languages that were
developed before C language…
CPL – Common Programming Language invented
by Martin Richards in 1960’s
BCPL – Basic Combined Programming Language by
Ken Thompson
Martin Richards in 1966
B Language – by Ken Thompson & Dennis Ritchie
in 1969
Traditional C – by Dennis Ritchie in 1972
Dennis Ritchie
K&R C – by Kernighan & Dennis Ritchie in 1978
ANSI C – by ANSI Committee in 1989
ANSI/ISO C – by ISO Committee in 1990
C99 – by Standardization Committee in 1999
Uses of C Language

C Programming Language is near to machine and


near to human so it is called as Middle Level Programming
Language. C was initially used for system development
work specifically creating operating system.
Uses of C Language

Some examples of the use of C are:


1. creating computer applications
2. Writing embedded software
3. Used in firmware for various electronics, industrial
and communications products which use micro
controllers
4. Developing verification software, test code,
simulators etc. for various applications and hardware
products.
Uses of C Language
Some examples of the use of C are:
5. creating compilers of different languages which can
take input from other language and convert it into
lower level machine dependent language.
6. Implement different operating system operations.
7. UNIX kernel is completely developed in C Language.

Operating Systems Language Compilers


Assemblers Interpreters
Text Editors Network Drivers Databases
Features of C Language
1. Low Level Features
C programming provides low level language support
features provided by Lower Level Languages such as
Assembly Language, making it easier to write assembly
language codes in C program

2. Portability
C programs are portable that it can run in any
compiler with little or no modification. Compiler and
preprocessor make it possible for C to run in different
computers.
Features of C Language
3. Powerful

It provides wide variety of data types, functions and


the use of control and looping statements.

4. Bit Manipulation

C programs can be manipulated using bits. It provides


variety of bit manipulation operators. Different operations
and memory representation can be performed at bit level.
Features of C Language
5. High Level Features

Compared to previous programming languages such


as BCPL and Pascal, C is more user friendly in terms of
data management incorporating all useful features from the
previous programming languages making it more effective
language.
Features of C Language
6. Modular Programming
Modular programming is a technique that increases
the extent to which software is composed of separate parts
called modules. C program consists of different modules
that are integrated together to form complete program.

7. Efficient Use of Pointers


C supports efficient use of pointers that has direct
access to memory.
The C Environment
Thank You

You might also like