fork download
  1. switch (something) {
  2. case 1: {
  3. case 2: {
  4. if ((something==1 && a) ||
  5. (something==2 && c)
  6. {
  7. //few lines for A
  8. } else {
  9. //few lines for B
  10. }
  11.  
  12. break;
  13. }
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1: error: expected unqualified-id before ‘switch’
stdout
Standard output is empty