No output displaying in prime sieve question
Change line 22 to int p[n+1]={0};
If last index is n, then array size must be n+1
but sir ans is still wrong.for input=100 output =2 3 5 7
but sir ans is still wrong.for input=100 output =2 3 5 7. can you please identify my mistake.
Got it .Thank you ! !