3. What is the primary function of a compiler in the context of programming languages?
(A) To execute program instructions line by line during runtime.
(B) To translate source code written in a high-level language into machine code or an intermediate language, typically before execution.
(C) To manage the allocation and deallocation of memory for program variables.
(D) To provide a runtime environment and libraries for program execution.

答案:登入後查看
統計: 尚無統計資料