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

For you

Name: Anonymous 2012-01-12 14:20

What is the output of this program and why?

#include <stdio.h>

void f(void) {
  printf("hax my anus\n");
  fflush(stdout);
  f();
}

int main(void) {
  f();
  return 0;
}

Name: Anonymous 2012-01-12 17:18

>>137
You should try getting your hands on a copy of the standard and start reading or perhaps you should get the latest draft for free, it's supposed to be 99.9% compatible with the C11 standard, either way I'm having a lot of fun reading how C works (or is supposed to work). I'll get back to you if I find anything interesting.

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