If a function is called void f(int n), and n=5 then 5 is the base case or 1 is the base case?
What is the base case?
Hey,that depends for increasing order print , it should be 5.
For decreasing ,it should be 1
If a function is called void f(int n), and n=5 then 5 is the base case or 1 is the base case?
Hey,that depends for increasing order print , it should be 5.
For decreasing ,it should be 1