what is dangling if statement?
Answers
Answered by
6
The dangling else is a problem in computer programming in which an optional else clause in an if–then(–else) statement results in nested conditionals being ambiguous. Formally, the reference context-free grammar of the language is ambiguous, meaning there is more than one correct parse tree.
Similar questions
Physics,
5 months ago
Science,
5 months ago
Chemistry,
10 months ago
Math,
10 months ago
Math,
11 months ago
Social Sciences,
11 months ago
Social Sciences,
11 months ago