Is "continue" tag can be used in switch statements? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Is "continue" tag can be used in switch statements?

Use of continue in conditional statements in C/C++.

27th Sep 2018, 4:25 PM
HOHO
2 Réponses
+ 1
No... You can use it ONLY inside loops https://en.cppreference.com/w/cpp/language/continue
27th Sep 2018, 4:39 PM
KrOW
KrOW - avatar
+ 1
Good catch 😁👍👍
27th Sep 2018, 6:07 PM
KrOW
KrOW - avatar