switch (val) { case 1 ... 10: /* ... */ break; case 11 ... 20: /* ... */ break; default: /* ... */ }
It is a GCC extension.
Post a Comment
No comments:
Post a Comment