Computer Science, asked by kunalsingh9949, 10 months ago

Define dangling else..
I will brainlest​

Answers

Answered by ap1861450
1

Answer:

Dangling else is a problem occurs when we use nested if. Statement; ... this is called dangling else problem. To overcome this we use braces and follow indentation.

Explanation:

please mark as branlist

Answered by binilanj
1

Answer:

The dangling else is a problem in computer programming in which an optional else clause in an if–then 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.

Explanation:

Similar questions