Assigning the recursive function to df would solve the problem, that is
df=differ(i+1,min(n1-1,n2-1,a,k,n);
Hope it helps someone who is struggling with this small mistake during recursion.
solved return not returning an accurate value in C
Assigning the recursive function to df would solve the problem, that is
df=differ(i+1,min(n1-1,n2-1,a,k,n);
Hope it helps someone who is struggling with this small mistake during recursion.
solved return not returning an accurate value in C