prog.c: In function ‘main’:
prog.c:6:11: error: ‘f’ undeclared (first use in this function)
int m[f];
^
prog.c:6:11: note: each undeclared identifier is reported only once for each function it appears in
prog.c:8:22: error: ‘j’ undeclared (first use in this function)
{ scanf("%d",&m[j]);
^
prog.c:13:24: error: ‘i’ undeclared (first use in this function)
if(m[j]<m[i])
^
prog.c:25:1: error: expected declaration or statement at end of input
}
^
prog.c:6:9: warning: unused variable ‘m’ [-Wunused-variable]
int m[f];
^
prog.c:4:11: warning: variable ‘d’ set but not used [-Wunused-but-set-variable]
int a,d;
^
prog.c:5:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^~~~~~~~~~~~~~