overview of c language n.
Skip this Video
Loading SlideShow in 5 Seconds..
OVERVIEW OF C LANGUAGE PowerPoint Presentation
Download Presentation


212 Views Download Presentation
Download Presentation


- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript


  2. 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.

  3. History of C Language • To augment B’s 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.

  4. 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”.

  5. 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”.

  6. 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.

  7. 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.

  8. 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.

  9. Some Examples Uses of C • Operating system • Language compilers • Assemblers • Text editors • Print spoolers • Network devices • Modern programs • Databases • Language Interpreters • Utilities

  10. 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.

  11. 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.

  12. Review Exercises Identify the following.

  13. 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?

  14. 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.

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

  16. Review Exercises Give the meaning of the ff. acronyms.

  17. C • BCPL • ANSI • ISO • SPL

  18. Enumerate the 5 features of C Language. • ____________________ • ____________________ • ____________________ • ____________________ • ____________________

  19. Enumerate the uses of C language. • __________________ • __________________ • __________________ • __________________ • __________________