answersLogoWhite

0


Best Answer

i think a pass is reading the input file, i.e. the file in which the code is written in the source language.so in a single pass compiler, the input file is read only once and in doublepass compiler this is done 2 times

.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

A single pass compiler uses forward declarations to determine how to link and compile code; since there is only one pass, a function or variable cannot be used or referenced before it is declared. C is a language that uses a single-pass compiler. A two pass compiler first parses the entire file as the first pass, then compiles the parsed data in the second pass. Languages that use a two-pass compilation method do not require forward declaration, and can optimize the compiled code by performing analysis on the parsed code before compiling (such as dead code removal, inline function optimization, register vs memory variables, etc).

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between Single pass compiler and double pass compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is different between double layer media and a single layer media?

difference between single layer and double winding


What is the difference between single and double screw threads?

screw thread are single threads which means they are not double


What is the difference between single cell and double cell blinds?

No


What is the difference between single replacement and double replacement?

a single replacement has one product and the double replacement has two products.


What is the difference between single quotes and double quotes?

in programming, single quotes are for characters, and double quotes are for string, but in php, javascript, html, css i don't see any difference between the two.


Difference between the DNA and RNA?

the difference is that DNA is a double helix and RNA is a single chain


What is the difference between single and double pithing?

single destroys the brain and double destroys the spinal cord or central nervous system


What is the difference between a twin and double hotel room?

A twin bedroom has two single beds, a double bedroom has a double bed!


What the difference between rna and dna in number of strands?

the difference between DNA and RNA AS DNA ARE DOUBLE STANDED AND RNA IS SINGLE STANDED


Difference between single and double pillow top.?

There isn't an immediate difference in comfort between a single and double pillow top, but you are able to flip double pillow top mattresses. This can make it more comfortable in the long run and may help it last longer. Double pillow tops do tend to be more expensive than single ones.


What is the difference between a clarient and oboe?

clarinet is a single reed instrument and the oboe is a double reed, that is really the only difference


What is the difference between Single vs Double action revolver?

See Related Links below