Output is not showing


where is the error

this is because you have not called the prime_sieve()
and hence this condition if(p[i]==1){
will not true and print nothing

https://ide.codingblocks.com/s/367586 desired output is not coming i.e not printing the prime numbers

Heyy @vikash3303
Mentioned the changes in comments : https://ide.codingblocks.com/s/370246 :slight_smile: