Skip to content

Instantly share code, notes, and snippets.

@onqtam
Last active September 19, 2017 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onqtam/10741453 to your computer and use it in GitHub Desktop.
Save onqtam/10741453 to your computer and use it in GitHub Desktop.
// use %ERRORLEVEL% to see result of program
static int func(int in) {
if(in > 1000000000)
return in;
return 1 + func(in + 1);
}
int main(int argc, char** argv) {
return func(argc);
}
@onqtam
Copy link
Author

onqtam commented Apr 15, 2014

can has stack overflow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment