What is a dangling else? Here are some definitions.
Noun
(programming) A potential ambiguity in a programming language that occurs when an else clause can be associated with either a nestedconditional or with the clause that encloses the nested conditional.