void foo() { if (a == b) { c(); } else { d(); } while (true) { // ... } switch (a) { case 1: c(); break; case 2: d(); break; } }