Machine-translated by Google. Questions are authored in English.
Top

Discussion

Error recovery matters because

  • A.a compiler that stopped at the first error would waste developer time
  • B.the compiler is required by the language standard to fix the errors
  • C.recovery guarantees that the resulting target program will be correct
  • D.the target machine cannot execute a program containing any errors

Answer: A

Recovery lets one compilation report many errors. The compiler does not repair the program and does not emit code for an erroneous source; it simply continues checking so the programmer sees more than one fault per run.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.