[ create a new paste ] login | about

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

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


Output:
1
3: error: 'for' loop initial declaration used outside C99 mode


Create a new paste based on this one


Comments: