Why this C code makes infinite loop?

You miss the initialization of _N, so it will never be equal to N and you will rest into the while loop forever

Leave a Comment