can you please check what is wrong with my code
Getting segmentation fault
You have not written the base case of ur recursive function. That is why, giving segmentation error
can you please check what is wrong with my code
You have not written the base case of ur recursive function. That is why, giving segmentation error