Tks to Jaime for this one which tells that switch case in c++ acceots range extension...!!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Tks to Jaime for this one which tells that switch case in c++ acceots range extension...!!!

https://code.sololearn.com/cGjLasox9rSu/?ref=app

28th Jan 2018, 5:39 PM
Uvan Sankar
Uvan Sankar - avatar
3 Answers
+ 2
I didn't know c++ can do that, quite a cool feature!!
28th Jan 2018, 7:13 PM
Tarantino
Tarantino - avatar
+ 1
Thats only for GCC and Clang, though.
29th Jan 2018, 4:23 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
0
You are missing a ';' after the first break command.
28th Jan 2018, 7:22 PM
Jared Bird
Jared Bird - avatar