Please explain me the meaning of the line mentioned in the comments in my code.
nick(arr,n,i+1,sum+arr[i],c+1) is when you want to consider the ith element in the sum.
nick(arr,n,i+1,sum,c) is when you don’t consider the ith element to make the sum.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen