Segmented Prime Sieve

Implementation not giving right answer

@aiman.mumtaz
Line 32
pp[j-a]=0;

If your doubt is resolved please close it.