Question:

A compiler which runs on one machine and produces target code for another machine is called as

Show Hint

Embedded systems frequently use cross compilers because code is developed on a PC but executed on microcontrollers.
Updated On: Jun 25, 2026
  • Crisp Compiler
  • Compact Compiler
  • Overlap Compiler
  • Cross Compiler
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Concept: A cross compiler executes on one computer system but generates executable code for a different computer architecture.

Step 1:
Understand host and target machines.
Host machine: \[ \text{Machine running compiler} \] Target machine: \[ \text{Machine executing generated code} \]

Step 2:
Identify compiler type.
When host and target differ, the compiler is called a \[ \boxed{\text{Cross Compiler}}. \]
Was this answer helpful?
0
0