You are on page 1of 19

OVERVIEW OF C LANGUAGE

History of C Language

B was developed in the year 1970 by Ken Thompson. The said language is a successor of Basic Command Programming Language (BCPL), which was developed by Martin Richards.

History of C Language

To augment Bs power, Dennis Ritchie invented and first implemented the C Programming Language in Bell Laboratory. C was originally developed under UNIX environment running in DEC PDP-11.

History of C Language

C stands for Combined Programming Language and sometimes called System Programming Language (SPL). It did not become immediately popular after its creation. It took almost six years when many people read and learned the usefulness of the language after Brian Kernighan and Dennis Ritchie created a famous book called THE C PROGRAMMING LANGUAGE.

History of C Language

X3J11 committee was created in the year 1983 under the American National Standard Institute (ANSI) to provide machine definition of the language and was than approved in 1989. ANSI cooperated with the International Standard Organization (ISO) to refer to as ANSI/ISO 9899:1990.

History of C Language

C is often called a middle-level language. C as a middle-level language means that it combines elements of high-level language with the functionalism of assembly language. It allows manipulation of bits, bytes, and addresses the basic elements with which the computer functions.

History of C Language

Input commands, output commands, and special words often referred to as reserved words allow the use of lower case only. They should be written in lower case since C is sensitive to those words. They have only 32 keywords (27 from Kernighan and Ritchie standard and 5 added by the ANSI Standardization Committee.

History of C Language

C was initially used for system development work, in particular the programs that make up the operating system. C is used mainly because it produces codes that run as fast as codes written in assembly language.

Some Examples Uses of C


Operating system Language compilers Assemblers Text editors Print spoolers Network devices Modern programs Databases Language Interpreters Utilities

Features of C Languages

A simple core language, such as math functions or file handling provided by a standard set of library routines. Focus on procedural programming paradigm which facilitates for programming in a structured style. Parameters are always passed by value, never by reference.

Features of C Languages

C encourages the creation of libraries user-defined functions. C is flexible when it allows unrestricted conversion of data from one type to another, such as conversion of a character to its numeric equivalent.

Review Exercises

Identify the following.

Review Exercises

A general purpose language which is sometimes called SPL. The year when B language was developed. Person who developed B language. Name of the technical committee created under C. How many keywords does C language have?

Review Exercises

Book written by Brian Kernighan and Dennis Ritchie? The year when the book was written by Brian Kernighan and Dennis Ritchie. Person who developed BCPL. The year when the committee was created under ANSI.

Review Exercises

The year when Brian Kernighan and Dennis Ritchie invented and first implemented the C programming language.

Review Exercises

Give the meaning of the ff. acronyms.

C BCPL ANSI

ISO
SPL

Enumerate

the 5 features of C Language. ____________________ ____________________ ____________________ ____________________ ____________________

Enumerate

language. __________________ __________________ __________________ __________________ __________________

the uses of C

You might also like