What is the meaning of f(n-i,k)?

I am not able to understand what is f(n-i,k )in this video because i don’t think compiler understand n in terms of function of f.

@pranjuldwivedi120568 f is your recursive function, you can name it whatever you want. n-i and k are the parameters.

but i am not able to understand how it works because i have never applied this type of function before

@pranjuldwivedi120568 you have never written a recursive function? If not then please study the recursion section in detail first. Its a simple recursive formula.

It will be something like this

void f(int n, int k) {
 //some base case
...
//rec case
   f(n-i, k);
}