Why my code is showing segmentation fault 18. Chewbacca number problem

https://online.codingblocks.com/app/player/161395/content/158287/4713/code-challenge

Hey @yashratnani6
Did the necessary changes and mentioned the changes in comments : https://ide.codingblocks.com/s/357327 :slight_smile:

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
the doubt.