Runtime error in prime seive code


Please check

hello @Aparna
image

use long long or i and j.
because i*i can exceed the range of int .

still not working :frowning:

line no 17.
it should be j=j+i;