Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ITT e-peen

Name: Anonymous 2008-01-20 21:52

How many times can you open a recursive process before you segfault?

#include <stdio.h>

int i;

void recurse()
{
  i++;
  printf("%d\n", i);
  recurse();
}

int main()
{
  i = 0;
  recurse();
}


I got 523506.

Name: Anonymous 2008-01-22 15:35

>>40
Doesn't matter. If stdout is in linebuffer mode, printing a '\n' will automagically flush it. By default, stdout is in linebuffer mode.

Name: Anonymous 2008-01-22 16:44

setbuf(stdout, NULL); or gtfo

Name: Anonymous 2008-01-22 17:39

>>32
Awesome, that's my actual IP as well.

Name: Anonymous 2009-03-18 3:40

Don't call me gay, but I need some mary jay!

Marijuana MUST be legalized.

Name: Anonymous 2010-12-06 9:25

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2011-02-04 16:44

Name: Anonymous 2011-02-04 17:19

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List