Discuss Nesting of If else statement in C language

No comments
Nesting of if .... else :-  We can have another if ... else statement in the if part or the else part. This is called Nesting if .. else statement. Here is an example of nesting where we have if...else inside both if and else parts.

if (expression 1)
   {
        if (expression 2)
             statement A1
       else 
             statement A2
   }
     else
        {
               if (expression 3)
                   statement B1
               else
                   statement B2
        }

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀