```
float det(float A[][10],int m)
{
float B[10][10],d=0;
int i,a,b,x,y;
if(m==2) return (A[0][0]*A[1][1])-(A[1][0]*A[0][1]);
else
{
x=0;y=0;
for(i=0;i<m;i++)
{
for(a=0;a<m;a++)
{
if(a==i) continue;
else
{
for(b=1;b<m;b++)
{
B[x][x]=A[a][b];
x++;
}
}
}
if(i%2) d-=det(B,x);
else d+=det(B,x);
}
}
return d;
}
```

I tried to run the program, but it exits with error code 255. Using Dev CPP with MinGW. Pls Help!