What is a nested selection structure?

A nested selection structure is when one control structure (like an if, else-if, or switch) is placed inside another. This allows for more complex decision-making, as the inner control structure is executed only if the outer structure’s condition is true. For example, in an if statement, another if or else-if statement can be placed within its body. This is useful for handling more intricate conditions, such as checking multiple layers of criteria before performing actions.