Which software detects and reports many syntax errors in C++ source code?

Options

  • A. Web browser
  • B. Compiler
  • C. Text editor alone
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. Compiler

Detailed Explanation

Correct Answer: B — Compiler.

Explanation: A C++ compiler analyzes source code and reports syntax errors and other compilation problems. An editor may also provide diagnostics through additional tools.