Skip to content

Instantly share code, notes, and snippets.

@shonenada
Created April 4, 2013 07:03
Show Gist options
  • Save shonenada/5308422 to your computer and use it in GitHub Desktop.
Save shonenada/5308422 to your computer and use it in GitHub Desktop.
#include<iostream>
using namespace std;
int i=0;
bool chk();
bool c();
void main(){
chk();
}
bool chk(){
i >=1000 || i++,cout << i << " ";
c()||chk();
return true;
}
bool c(){
return i >= 1000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment