Upgrade to access all content for this subject
Consider the following expression where n and k are integers:
if ((n > 5) && (k/n < 12))
If n equals 0 when the expression is evaluated, which of the following statements about the expression is true?
It causes a divide-by-zero exception.
The code will not compile.
The expression evaluates to false.
The expression evaluates to true.
It causes a run-time error.