[ create a new paste ] login | about

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

C, pasted on May 26:
1
2
3
4
5
6
7
8
#include <stdio.h>

int main() {
  int i, a[10] = {1, 2, 3, 4 };
  for (i = 0; i < 10; i++) printf("%d\n", a[i]);
  return 0;
}
/* end */


Output:
1
2
3
4
5
6
7
8
9
10
1
2
3
4
0
0
0
0
0
0


Create a new paste based on this one


Comments: