Control Flow – Nesting in C

There may be a situation when you want to check for another condition within the body if or if-else statement. Also, it may be required to execute a loop inside the body of another loop. Placing one construct inside the body of another construct of same type is called Nesting.