What runtime error is there in this problem???

```
#include<stdio.h>
#include<math.h>
int fac(int n){
int c;
short unsigned fact=1;
for (c = 1; c <= n; c++)
fact = fact * c;
return fact;
}
int main(void){
short unsigned T, temp, k=0, i, z, N, ans[100000];
scanf("%hu", &T);
for(temp=0; temp<T; temp++){
scanf("%d", &N);
for(i=0; i<=N; i++)
k=k+(fac(N+i)/((fac(N-i))*(fac(i))*(fac(i))));
z=k%(N*N);
ans[temp]=(N*N)-z;
}
for(temp=0; temp<T; temp++)
printf("\n%hu", ans[temp]);
return 0;
}
```

Help ASAP

Thanks in advance

Daksh