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-20 23:06

>>6
It prints how many iterations it does before you crash.
*facepalm*
1) You need to get your fucking terms right.
`recursive process' or `iterations' ? what the fuck you stupid sonofabitch.
2) you fucking faggot need to learn about static
3) >>5 lied. that's just 2^31-1.

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