my prime is not giving ans for large values https://ide.codingblocks.com/s/194696
I am creating sieve but not getting large values
@rsaini9416624750 you have to print 5000000th prime number that lies around 10^8 so your n should be equal to this and arr size should be 10^8.
i tried that 10^8 but code show error