https://ide.codingblocks.com/s/593167 why does it show segmentation fault?
Prime visits problem
U had written 10000005 instead of 1000005… there was one extra 0 that was going out of bounds of array
I have corrected ur code… its working fine now… https://ide.codingblocks.com/s/593169
ohh yes i got it… thanks a lot!
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.