Define dangling else..
I will brainlest
Answers
Answered by
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
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
Social Sciences,
5 months ago
Math,
5 months ago
English,
5 months ago
English,
10 months ago
Social Sciences,
10 months ago
Physics,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago