Computer Science, asked by sanandana, 7 months ago

Explain the term “fall through” with example​

Answers

Answered by Anonymous
4

Answer:

Fall through. In a switch, control flow falls through to the next case. We must be careful to use breaks (or returns) to prevent incorrect behavior.Case

This example loops over the numbers 0, 1 and 2. The switch has no case for 0, so the default block is reached. For 1 the first case matches

Explanation:

Hope you have satisfied with this answer.So please follow me and thank me and make me as brainlesset soon and vote my answer

Similar questions