The original isprime() did not always exit with a return statement (this happens with, for example, num=4).kasper wrote:Hi all,
Just out of curiosity. I wonder how the printf of count, in the original code, can affect the answer.
The original isprime() did not always exit with a return statement (this happens with, for example, num=4).kasper wrote:Hi all,
Just out of curiosity. I wonder how the printf of count, in the original code, can affect the answer.