[ create a new paste ] login | about

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

C, pasted on Nov 15:
1
2
3
4
5
6
int main ()
{ int arr [10];
for (int i=1;i<=10;i++)
arr[i]=1;
return 0;
}


Output:
1
2
In function 'main':
Line 3: error: 'for' loop initial declaration used outside C99 mode


Create a new paste based on this one


Comments: