foo.cpp: In function 'int main()':
foo.cpp:11:25: error: 'memset' was not declared in this scope
memset(c,0,sizeof(c));
^
foo.cpp:7:14: warning: unused variable 'x' [-Wunused-variable]
int a[100],m,x,k,j,l=0,t,b=0,c[100];
^
foo.cpp:7:18: warning: unused variable 'j' [-Wunused-variable]
int a[100],m,x,k,j,l=0,t,b=0,c[100];
^
foo.cpp:7:20: warning: unused variable 'l' [-Wunused-variable]
int a[100],m,x,k,j,l=0,t,b=0,c[100];
^
foo.cpp:7:26: warning: unused variable 'b' [-Wunused-variable]
int a[100],m,x,k,j,l=0,t,b=0,c[100];
^