Social Sciences, asked by pratham709, 1 year ago

What do you mean by dangling else problem?

Answers

Answered by Anonystalker
1
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