Saturday, April 14, 2012

What is C Language programming ? C Language notes in pdf ppt doc

What is C Language?

C is a programming language. The C language was developed by Dennis Ritchie in 1972 at AT&T Bell Labs. It was called his newly developed language C simply because there was a B programming language already and the B language led to the development of C Language. C language is based on ALGOL and B languages.

As said above C language is a programming language. Programming language is any language that computer system can understand directly or indirectly to can perform the actions asked by the programmer as set of instructions in form of a computer program.

C language is a high-level programming language. In the computer world, the further a programming language is from the computer architecture, the higher the language's level. You can imagine that the lowest-level languages are machine languages that computers understand directly. The high-level programming languages, on the other hand, are closer to our human languages.

A computer program written in a high-level language, such as C, Java, or Perl, is just a text file, consisting of English-like characters and words. We have to use some special programs, called compilers or interpreters, to translate such a program into a machine-readable code. That is, the text format of all instructions written in a high-level language has to be converted into the binary format. The code obtained after the translation is called binary code. Prior to the translation, a program in text format is called source code. The smallest unit of the binary code is called a bit (from binary digit), which can have a value of 0 or 1. 8 bits make up one byte, and half a byte (4 bits) is one nibble.

  • ·         C is a general-purpose programming language.
  • ·         C is a high-level language that has the advantages of readability, maintainability, and portability.
  • ·          C is a very efficient language that allows you to get control of computer hardware and peripherals.
  • ·          C is a small language that you can learn easily in a relatively short time.
  • ·         Programs written in C can be reused.
  • ·          Programs written in C must be compiled and translated into machine-readable code before the computer can execute them.

What is C language in simple words?

C is a general-purpose programming language. It's a high-level language that has advantages such as readability, maintainability, and portability. Also, C allows you to get down to the hardware to increase the performance speed if needed. A C compiler is needed to translate programs written in C language into machine-understandable code. The portability of C is realized by recompiling the C programs with different C compilers specified for different types of computers.

You can browse this blog for good C Language notes.

No comments:

Post a Comment