segmentation error
Deepak and prime
5,000,000 th prime number is 86,028,121. Thus you need to set the size of “p” (in your code) to a number greater than 86,028,121.
but on putting this value i got a tle error
get the entire code in int main
there is upper bound on the global array size
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.