https://ide.codingblocks.com/s/51564
my code is successfully calculating 5000000th prime no. but it is not prime ,output is some even no., and when i increase my array size from 5000000 to 10000000 its output for 5000000th prime becomes 0. can u explain what’s wrong with my code.