Error in deepak and primes

showing segmentation fault(core dumped) why?

@16102097yash
Share your code using ide.codingblocks.com so I can have a look.

Hi Yash ,
Since you are not responding to this thread , I am marking your doubt as resolved. If your doubt still persists , you can reopen this thread again and we will help you out.

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.