SHARE
TWEET

Untitled

a guest Mar 17th, 2014 784 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* explanation of http://codegolf.stackexchange.com/questions/24304/why-isnt-it-ending/24361#24361 */
  2.  
  3. int main() {
  4.  
  5.     int x = 0;
  6.  
  7.     while (x < 10)
  8.         do {
  9.             x++;
  10.         } while (x-- > 0);
  11.  
  12.     while (x > -10)
  13.         x--;
  14.  
  15.     return 0;
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top