Is if-else-if statement the if-else statement or the if-else if-else statement?
Answers
Answered by
1
I
If and else if both are used to test the conditions. In the if case compiler check all cases Wether it is true or false. if no one block execute then else part will be executed. in the case of else if compiler stop the flow of program when it got false value.
Similar questions