Features of “C” Language

  1. It is robust language because of rich set of binary in – function
  2. It is efficient and fast because of its variant data-types and powerful operation.
  3. It is highly Portable i.e., programs written in one computer can be run on another
  4. It is well suited for structure program, thus allows the user to think about the problem in the terms of functional blocks.
  5. Debugging, testing and maintenance is easy
  6. ability to extend itself, we can continuously add our own functions to the program.
Complier : This reads the entire source program and converts it to the object code. It provides error not of one line, but errors of the entire program. It executes as a whole and it is fast
Interpreter : It reads only one line of a source program at a time and converts it into an object code. In case of errors/same will be indicated instantly. It executes line by line and it is slow. Linker is a function which links up the files that in present in the operating system, it also links the files for the hardware and makes the system ready for executing.
Preprocessor : This is a program, that processes the source program before it is passed on to the compiler. The program typed in the editor is the source code to the preprocessor, then it passed the source code to the compiler. It is not necessary to write program with preprocessor & activity
Preprocessor directories are always initialize at the beginning of the program. it begins with the symbol (#) hash. It place before the main() function
Eg: # include <station>
# define PI 3.14
Character Set : The characters that can be used to form words and expressions depends upon the computer to which the program is run
The Characters in C are
1. Letters A-X, a-z, both upper and lower
2. Digits 0-9
3. Special character, +,-,*,”,;,./,
4. which spaces newline, horizontal tab;,carriage return ,blank space