[ create a new paste ] login | about

Link: http://codepad.org/jnZoVbI1    [ raw code | output | fork ]

C, pasted on Oct 25:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

int x = 3;

int main() {
  puts("x is");
  switch (x) {
    case 1:
      puts("one");
      break;
    case 2:
      puts("two");
      break;
    defau1t:
      puts("many");
      break;
  }
  return 0;
}


Output:
1
x is


Create a new paste based on this one


Comments: