Science, asked by snehasingh3216, 1 year ago

Advantage and disadvantage of single pass and multipass compiler

Answers

Answered by Payalarora
0
this is a unique and disadvantage yeh h iska it is a smll very
Answered by dackpower
0

A one-pass compiler is a compiler that transfers through the reference code of each compilation unit for only once. A multi-pass compiler is a type of compiler that prepares the reference code or general syntax tree of performance numerous times. A one-pass compiler is faster than multi-pass compilers.

Single-pass Compiler :

Advantage:  More effective than multi-pass compilers in the compiler point of view.

Disadvantage:  It  compiles less efficient programs.

Multi-pass Compiler :

Advantages:   It can be played very role useful when optimizing code.

Disadvantages:  It is a very Slower process which takes a lot of time to compile the codes.

Similar questions