explan canditional statements in c languauge
Conditional statements are those lines in C which are essentially used to take a decision based on some conditions which can be provided by the user of the program. There are three conditional statements in C, which are:
1. IF statement: The execution of the IF statement is as follows:
if (condition){
executable statement;
}
2. IF Else statement: The execution of IF Else in C is as follows:
if (condition){
executable statement;
}
else{
other statement;
}
3. NESTED IF: Nested IF statements are just as same as IF statements with just many IFs within each other.
Hope I have answered your question. All the best!




