Posts by arthropod • 11 points
1 post
-
1
votes1
answer137
viewsA: SWITCH Error - Sequential Search and Binary Search
At the end of each case, if no one is hit break;, The flow of control moves forward. For example: switch(int i){ case 0: std::cout << "case 0 executado" << std::endl; case 1: std::cout…