Sunday, July 16, 2017

C Programming Language || What is C and Facts about C language.

C programming: 

Before start to write serious programs in C, it would be interesting to find out what really C is, how it came into existence and how does it compare with other computer languages. In this blog I will briefly outline these issues.
Most important aspects of any language are the way it stores data, the way it operates upon this data, how it accomplishes input and output and how it lets you control the sequence of execution of instructions in a program. 

What is C?

C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972. It was designed and written by Dennis Ritchie. In the late 70’s C began to replace the more familiar languages of that time like PL/I, ALGOL. It wasn’t made the ‘official’ Bell Labs language. Dennis seems to have been rather surprised that so many programmers preferred C is older languages like FORTRAN or PL/I, or the newer ones like Pascal and APL. But why C seems so popular is because it is reliable, simple and easy to use.

A computer falls definitely into the category of complex objects and it can be thought of as working at many different levels. The terms low level and high level are often used to describe these onion-layers of complexity in computers. Low level is maybe easiest to understand: it describes a level of detail which is buried down amongst the working parts of the machine. A higher level describes the same object, but with the detail left out.

C is called a high level, compiler language. The aim of any high level computer language is to provide an easy and natural way of giving a program of instructions to a computer. The language of the raw computer is a stream of numbers called machine code. As you might expect, the action which results from a single machine code instruction is very primitive and many thousands of them are required to make a program which does anything substantial. It is therefore the job of a high level language to provide a new set of black box instructions.

Computers are designed to handle and process large amounts of information quickly and efficiently, but they can't do anything until someone tells them what to do. That's where C comes in. C is a programming language that allows a software engineer to efficiently communicate with a computer.

C is a highly flexible and adaptable language. C is one of the most widely used languages in the world and is fairly stable. An improved C language called C++ has been invented, but it is still in development, and its definition is still being worked on.

C++, originally known as C with Classes, adds a number of new features to the C language, the most important of which is the class. Classes facilitate code reuse through object-oriented design (OOD).

This processing makes some types of programming easy, but it makes static checking of programs difficult, and you need to be able to tell exactly what your program is doing if you are working on embedded control applications. So some people consider C++ the better language because it does things automatically and C doesn't. Other people consider C better for precisely the same reason. So C will be with us for a long time to come.

Facts about C:

  1. C was invented to write an operating system called UNIX.
  2. C is a successor of B language which was introduced around the early 1970's.
  3. The language was formalized in 1988 by the American National Standard Institute (ANSI).
  4. The UNIX OS was totally written in C.
  5. C is the most widely used and popular System Programming Language.
  6. Most of the state-of-the-art software has been implemented using C.
  7. Most popular Linux OS and RDBMS MySQL have been written in C.


Post a Comment