72.0k views
0 votes
Which of the following errors will be detected during compilation?

Check everything that is applicable.
A missing semicolon at the end of the instruction.The left curly brace is missing.Division by a variable that can be zero
Forgetting to declare the type of the variable.

1 Answer

0 votes

A missing semicolon, a missing left curly brace, and forgetting to declare the type of a variable. The division by zero error is only caught when you try to execute the program, where you'll see something weird or have the program crash on you.

User Linovia
by
7.4k points