adplus-dvertising
frame-decoration

Question

How does a compiler translate a high-level language program into machine code?

a.

By writing a machine-generated assembly language program

b.

By decoding the high-level language program directly

c.

By generating a corresponding bytecode file

d.

By generating a corresponding machine code file

Posted under Reverse Engineering

Answer: (d).By generating a corresponding machine code file Explanation:A compiler is a program that takes a source file and generates a corresponding machine code file.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How does a compiler translate a high-level language program into machine code?