[Solved] When I run my code it shows some errors on terminal. Could any can tell me what is the error stands for? How can I debug it? [closed]


Your isPower2(0) returns true (1) but 0 is not a power of 2. So the expected result would be false (0).

solved When I run my code it shows some errors on terminal. Could any can tell me what is the error stands for? How can I debug it? [closed]