prog.c: In function 'main':
prog.c:8:9: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",arr[i]);
^
prog.c:12:24: error: expected expression before 'float'
printf("Av= %d",sum/i(float));
^
prog.c:12:22: error: called object 'i' is not a function or function pointer
printf("Av= %d",sum/i(float));
^
prog.c:5:6: note: declared here
int i,arr[i],sum=0;
^