Prime factorization using sieve

cannot figure out the error in my code i have written the same code as shown in video but still cant find the error

hello @jatinupadhyay786
please save ur code here ->https://ide.codingblocks.com/
and share the link with me