answersLogoWhite

0

What is done during compilation?

User Avatar

Anonymous

14y ago
Updated: 8/19/2019

The code of source file stored on the disk must be translated in to machine language. this is the job of the compiler. The c compiler is actually two separate programs :"PREPROCESSOR",TRANSLATOR.

The preprocessor reads the source code and prepares it for translator.while preparing the code , it scans for specials instructions known as preprocessor commands. These commands tell the preprocessor to look for special code libraries, make substitutions in the code, and in other ways prepare the code for translation in to machine language .the result of possessing is called translation unit .

after the preprocessor has prepared the code for compilation, the translator does the actual work converting the program in to machine language . the translator reads the translation unit and writes the resulting "object module".an object module is the code in machine language. even though the output of the compiler is machine code, it is not yet ready to run : that is not yet executable because it does not have the required c and other functions included

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the difference between a compilation error and logic error?

errors which come during compilation is known as compilation error. here we get syntax errors only not logical errors like division by zero. logical error occur during run time example:if you write a program for division with zero you will not get compilation error but during execution you will error


When two pieces of CUI or other unclassified information are poted on line together and results in disclosure of classified information?

Declassification


What are the programs that are executing during compilation in c?

The only program that executes during compilation is the compiler. The compiler produces one object file for each translation unit compiled. When all translation units are compiled, the object files can then be linked together by executing the linker.


What part of speech is the word compilation?

Compilation is a noun.


When two pieces of CUI or other unclassified are posted online together, or attached together in an email, and result in disclosure of classified information, this is known as?

Compilation


What is meant by compilation and interpretation?

compilation - to compile interpretation - to interpret


When was A Compact Compilation created?

A Compact Compilation was created in 1986.


When was MoonOffice Compilation created?

MoonOffice Compilation was created in 1993.


When was The E.P. Compilation created?

The E.P. Compilation was created in 1997.


When was A Compilation created?

A Compilation was created on 1998-02-10.


When was Stoneage - compilation - created?

Stoneage - compilation - was created in 2008.


When was After the Fact - compilation - created?

After the Fact - compilation - was created in 1978.