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

Number of args in ``int fun();''

Name: Anonymous 2012-12-02 18:13

Hey /prog/, did you know  that you can do this in C:

int fun(); /* Whoops, we forgot ``void'' */

int main(int arg, char **argv)
{
  fun(fun, fun, "the Sussman", fun, fun, fun, (int)fun + (int)fun);
  return fun(3, 3, 3);
}

int fun()
{
  return 3;
}


It's been 6 years since I started writing C and I only now found out.  From a fucking C++ book.

Name: Anonymous 2012-12-03 5:28

>>9
Only va, nothing else?
By the way, how does printf work in C++ then?

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