Similarities between if else and switch case
Answers
Answered by
1
If else and switch case both are used to control the flow of program. More they don't have other similaritiesbecause they are designed to control the flow in different situation. Switch is essentially a convenient way of representing an if-else block. The assembly language code that gets generated is the same
Similar questions