[ create a new paste ] login | about

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

C, pasted on Apr 13:
1
2
3
4
5
6
7
8
9
#include<stdio.h>
int main(void){
  int[] ary = {1,2,3,4,5};
  int i;
  for(i=0; i<5; i++){
    printf("%d\n",ary[i]);
  }
  return 0;
}


Output:
1
3: error: expected identifier or '(' before '[' token


Create a new paste based on this one


Comments: