Social Sciences, asked by Shreya2170, 1 year ago

what is dangling if statement? ​

Answers

Answered by shatendra
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