prog.c: In function ‘main’:
prog.c:8:2: error: variable-sized object may not be initialized
int b[N]={0};
^
prog.c:8:2: warning: excess elements in array initializer [enabled by default]
prog.c:8:2: warning: (near initialization for ‘b’) [enabled by default]
prog.c:6:8: warning: unused variable ‘j’ [-Wunused-variable]
int i,j; const int N=10;
^