In this we will only discuss about Else-if ladder of C language in which following topics are included:
- What is Else-if ladder in C ?
- Syntax of Else-if ladder in C.
- Example of Else-if ladder in C.
What is Else-if ladder in C ?
The Else-if ladder in C is nothing but, It is also type of bi-conditional operator in C like nested If-else statement or nested If statement same as Else-if ladder is another way of putting Ifs together when multipath decision are involved.A multigraph decision is chain of Ifs in which the statement associated with each case else is an if.
Syntax of Else-if ladder in C :
if(condition 1)
statement-1;
elseif(condition-2)
statement-2;
elseif(condition-3)
statement-3;
elseif(condition-4)
statement-4;
.
.
.
elseif(condition-n)
statement-n;
else
default-statement;
Example of Else-if ladder in C :
So,in this article we have learned about Else-if ladder of C in detail.I hope you any doubt remaining after reading this article but if any doubt in this article then feel free comment below, I promise I will resolve your doubt as soon as possible.

