Deepak nd primes

https://ide.codingblocks.com/s/255011 out put is correct then way test case is not passing plz help

Maam thank you very much but i did not got why you have comment return

vo size of array thoda 1 0 extra dal gya tha

this is the updated code

Yes maam hacker block problem was there previous code was also excepted after trying 2-3 time but i did not got why we are commenting return 0

i guess by mistake
uske farak nhi padhta h
like since it is int main() the return type needs to be int
but even if u dont ddo return 0
it works fine

Note: i did not comment return 0 on purpose

1 Like

Thank u very much maam my doubt is clear and again thank you so much

1 Like