About us

Compiler

Compiler

Compiler

Compiler

We know that a computer is an electronic machine. This machine only can understand machine code. So Compiler is system software which converts source code(programming code) into Binary code in a single step.In other words:- Compiler is system software which can take input from any other programming language and convert it into lower-level machine dependent language. In C Programming we use the compiler for convert its source code into binary code.

Working of Compiler

        The compiler converts the source code into object code(machine code) in one step.

Compiler


Source Code
  • Source code is in the form of text.
  • Source code contains some predefined keywords and special characters.
  • Source code is generated by Human or Programmer.
  • Source code is received by the compiler as an Input.


Object Code
  • Object code is in the binary form (In the form of 0's and 1's).
  • Object code is machine-readable form.
  • Object code is generated by compiler as an Output.
  • machine-readable

        There are some other soft wares which also takes part in the life-cycle of a C Program, from source code to machine code conversion. But Compiler is main in C language.





You can also visit:-