Prime seive eratosthenes

what if I use void prime_seive (int p) instead of void prime_seive (int *p)

@Ambuj-Singh-514796906079795
this will definitely give error as
int p is and interger
int*p is a pointer to integer
both are different

but you can use this
prime_seive(int p[1000005])

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course