





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Step4: Now announce the topic
Step 5: Presentation
A Brief History of C
C is a general-purpose language which has been closely associated with the UNIX operating system for which it was developed - since the system and most of the programs that run it are written in C.
Many of the important ideas of C stem from the language BCPL , developed by Martin Richards. The influence of BCPL on C proceeded indirectly through the language B , which was written by Ken Thompson in 1970 at Bell Labs, for the first UNIX system on a DEC PDP-7. BCPL and B are "type less" languages whereas C provides a variety of data types.
In 1972 Dennis Ritchie at Bell Labs writes C and in 1978 the publication of The C Programming Language by Kernighan & Ritchie caused a revolution in the computing world.
In 1983, the American National Standards Institute (ANSI) established a committee to provide a modern, comprehensive definition of C. The resulting definition, the ANSI standard, or "ANSI C", was completed late 1988.
Why use C?
C has been used successfully for every type of programming problem imaginable from operating systems to spreadsheets to expert systems - and efficient compilers are available for machines ranging in power from the Apple Macintosh to the Cray supercomputers. The largest measure of C's success seems to be based on purely practical considerations:
main function
programmers choice.
by user in a program
Running a ‘C’ Program
C language Tokens
known as tokens. In a C source program, the
basic element recognized by the compiler is the
"token." A token is source-program text that the
compiler does not break down into component
elements.
Token types in ‘C’
C programs are written using these tokens and the
general syntax.
if
break
case
char
const
continue
default
do
register
return
short
signed
sizeof
static
struct
int
switch
typedef
union
unsigned
void
volatile
while
long
Step 6: Ending the lesson
Step7: Recap