Multiple choice

If the compiler runs on a computer other than the computer for which it produces object codes, is

  1. Self compiler

  2. Cross compiler

  3. Resident compiler

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A cross compiler is a compiler that runs on one architecture (the host) but generates executable code for a different architecture (the target).