C programming tutorial
Nested if statement in C is an if that has another if statement in its if body or in its else body.
I will explain it using following C program.
int i=2;
if(i<2)
{
printf(" nested if c");
}
else {
if( i>2)
printf("i am learning c");
else
printf(" NESTED IF C");
}