This program will work infinitely, and it will output reducing values with step -2 from 7 till -2147483647 after that it will output reducing values from 2147483647 till -2147483647 infinitely.
All this happends due to unreachable condition of the loop finish using step -2 with passing 0 value (7, 5, 3, 1, -1, -3, ...).
Comments
Leave a comment