Rajneesh Sharma submitted an assignment on C programming in 2019. C was created by Dennis Ritchie in 1972 at Bell Labs to develop the UNIX operating system. It is a general purpose, procedural programming language that is reliable, simple, and easy to use. C combines high-level and low-level language features, making it suitable for both system and application programming.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
339 views
Assignment of C Programming
Rajneesh Sharma submitted an assignment on C programming in 2019. C was created by Dennis Ritchie in 1972 at Bell Labs to develop the UNIX operating system. It is a general purpose, procedural programming language that is reliable, simple, and easy to use. C combines high-level and low-level language features, making it suitable for both system and application programming.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10
ASSIGNMENT
C PROGRAMMING
2019 SUBMITTED BY: RAJNEESH SHARMA
SUBJECT TITLE C PROGRAMMING INTRODUCTION TO Programming languages
C is general-purpose programming language
Developed at Bell Laboratories of U.S.A in 1972 by DENNIS RITCHIE. It is also called as procedure oriented programming language. The C language is reliable, simply and easy to use. C has been codded in assembly languages. C also cointain additional features that allow it to be used at lower level, thus bringing the gap between matchone languages and high level languages. The flexibility allows C to be used for system programming as well as for application programming. History and development of c programming language The C language was invented at Bell labs by DENNIS RITCHIE in 1972 at AT & T Bell laboratories of U.S.A, he is also called father of C programming language. C language was created for a specific porpose i.e designing the UNIX operating system (which is currently based of many UNIX based OS) C language was proced by some more programming languages, {BPCL} is a programming language developed in 1967 by MARTIN RITCHARDS. It quickly becomes popular largely because of its high portablity. BCPL is the successor to the CPL in 1960s. BPCL was influenced by a language called B, which was invented by KEN THOMPSON. B let to be developed of C in 1970s. Finally in 1972 DENNIS RITCHIE turned the B language in to the C language, keeping most of the anguage B syntax while adding data types and many other changes.
DEVELOPMENT AND HISTORY OF C LANGUAGE
Programming Development Developed by languages Year ALOG 1960 International group BCPL 1967 Martin Ritchards B 1970 Ken Thompson TRADITIONAL C 1972 Dennis Ritchie K&R C 1978 Brain Kernighan ANSI C 1989 ANSI committee ANSI/ISO C 1990 ISO committee C99 1999 Standardization.committee DIFFERENT VERSONS OF C LANGUAGE Different organisation have written and implimented C compilers which may somewhat different one another e.g Microsoft C compilers from microsoft corporatio, turbo C compiler from Borland international ANSI C version adapted by American National Standard Institute. WHERE C STANDS? 1. High evel language or problem oreinted languages. 2. Low level language or matchine oriented languages. HLL- The language which are designed to give better programming efficiency that also mean faster program development. Examples:- BASIC, FORTRAN, COBOL, PASCAL etc.
LLL- The language which are designed to give
better matchine efficiencywhich also mean faster program execution. Examples:- Assebly language and Matchine Language CHARACTERSTICS OF C LANGUAGE C is one of the popular and programming language nowadays used in aplication due to the various qualities. C, a programming language (high level language) so the difficult and more complex program can written in every simple and easier way. 1. Simple and clear. 2. Structured approach. 3. Portable. 4. Case sensitive. 5. Easily available and quick. 6. Modular. 7. Easy error detection. 8. Laser keyboard. 9. Compact code. 10. Availability of recursive function. 11. System programming. 12. Availability of memory management function
APPLICATION OF C PROGRAMMING LANGUAGE
C was the language that was initially used for system development work. It was preferred over other languages because it produces code that runs nearly and faster as the code written in assembly language. THE STRENGTH OF C LANGUAGE MAKES IT A NATURAL CHOICE FOR : 1. Modern programming and database. 2. Network software ie. Network drivers to implement different communication protocols. 3. Graphics programming that includes written software for graphical user interface, scientific visualization and presentation graphics. ADVANTAGES OF C PROGRAMMING LANGUAGE 1. C languge is easy to learn and understand for the beginners. 2. It divides program in to sub roblem by using functions. 3. C program runs faster than programming language like BASIC etc. because it is middle level language. 4. C language is building block of many others currently known lnguages. 5. C language has variety of datatypes and powerfull operations. 6. C is highly pirtable language. 7. There are only 32 keywords in ANSI C and its strength lies in build in function. 8. C is compilr based language but not intrupter based. DRAWBACKS (LIMITATIONS) OF C PROGRAMMING LANGUAGE It does not provide data security. Cdoes not support reusability of source code. It provide no help for solving real world problem. It is a producer oriented language. C does not have an build-in collection library so it does not provides readymade collection (link lists, queues, stacks, etc) C does not provide support for name like c++ without name space, we cannot declare to variable of some name. C does not support the concept of constructors and destructors.