Multiple choice technology programming languages

Which of the following is the most common way of implementing C++?

  1. C++ programs are directly compiled into native code by a compiler

  2. C++ programs are first compiled to intermediate code by a compiler and then executed by a virtual machine

  3. C++ programs are interpreted by an interpreter

  4. A C++ editor directly compiles and executes the program

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

C++ is a compiled language that directly translates source code into native machine code without an intermediate bytecode step. Unlike Java or C#, which use virtual machines to execute intermediate code, C++ compilers generate platform-specific executables. Editors are development tools, not execution mechanisms.