1 2 3 4 5 6 7 8 9 10
#include <stdio.h> int main(){ int nbredenote; int sommedesnotes; scanf ("%d", &nbredenote); for (int i=0; i<nbredenote; i++){ scanf ("%d", &sommedesnotes); } return 0; }
1 2
In function 'main': Line 6: error: 'for' loop initial declaration used outside C99 mode