Solved

What Is the Rule for Lining Up, or Matching, Elses

Question 14

Multiple Choice

What is the rule for lining up, or matching, elses?


A) The first else goes with the first if.
B) Else goes with the closest previous if that does not have its own else.
C) The else goes with the one that is indented identically to it.
D) Else matches the closest if that follows it.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions