fork(10) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int const items[] = {21, 42, 63};
  6. int const * item = items;
  7. int const * const end = items + sizeof(items) / sizeof(items[0]);
  8. switch (1) {
  9. case 0: do { cout << ", ";
  10. default: cout << *item; ++item; } while (item != end);
  11. }
  12. cout << endl << "I'm so sorry" << endl;
  13. return 0;
  14. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
21, 42, 63
I'm so sorry