Sunday 30 April 2017

                                                           Basic Features of C language

 features that are given below.
  1. Simple -  C is a simple language in the sense that it provides structured approach (to break the problem into parts), rich set of library functionsdata types etc.
  2. Machine Independent or Portable - C is a simple language in the sense that it provides structured approach (to break the problem into parts), rich set of library functionsdata types etc.
  3. Mid-level programming language - C is also used to do low level programming. It is used to develop system applications such as kernel, driver etc. It also supports the feature of high level language.
  4. structured programming language - C is a structured programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify.
  5. Rich Library - C provides a lot of inbuilt functions that makes the development fast.
  6. Memory Management - It supports the feature of dynamic memory allocation. In C language, we can free the allocated memory at any time by calling the free() function.
  7. Fast Speed - The compilation and execution time of C language is fast.
  8. Pointers - C provides the feature of pointers. We can directly interact with the memory by using the pointers. We can use pointers for memory, structures, functions, array etc.
  9. Recursion - In c, we can call the function within the function. It provides code reusability for every function.
  10. Extensible - C language is extensible because it can easily adopt new features.

                                                                History of C

The C programming language was devised in the early 1970s by Dennis M. Ritchie an employee from Bell Labs (AT&T). The goal of the project was to develop an operating system for a large computer that could be used by a thousand users.
The programming language C was written down, by Kernighan and Ritchie, in a now classic book called “The C Programming Language, 1st edition”. (Kernighan has said that he had no part in the design of the C language: “It’s entirely Dennis Ritchie’s work”. But he is the author of the famous “Hello, World” program and many other UNIX programs).

It was developed to overcome the problems of previous languages such as B, BCPL etc.
Initially, C language was developed to be used in UNIX operating system. It inherits many features of previous languages such as B and BCPL.



the programming languages that were developed before C language.

LanguageYearDeveloped By
Algol1960International Group
BCPL1967Martin Richard
B1970Ken Thompson
Traditional C1972Dennis Ritchie
K & R C1978Kernighan & Dennis Ritchie
ANSI C1989ANSI Committee
ANSI/ISO C1990ISO Committee
C991999Standardization Committee

                                                            Basic Features of C language   features  that are given below. Simple -  C...