I am getting the segmentation fault but I could not get where I am wrong-----please tell me where I am wrong ------I have saved my code on ide at link https://ide.codingblocks.com/s/229275
To find the nth prime number
@ankur8632 you should consider making your prime sieve a global variable because stack doesn’t have enough resourcese to make such a large array. Moreover, I dont understand what you are doing with the csum array.
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.