My 2 test cases are failing please check

my 2 test cases are failing please check in Primes question please check this
my code is

increase the limit of the code. and also use memset to initialise the memory