Skip to content

Instantly share code, notes, and snippets.

@bdotdub
Created July 26, 2010 03:33
Show Gist options
  • Save bdotdub/490153 to your computer and use it in GitHub Desktop.
Save bdotdub/490153 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
typedef void _;
_ _____(char *_) { cout << _ << endl; }
_ ____() { _____("third"); }
_ *___(_ (*______)()) {
_____("second");
return (_ *)______;
}
_ *__(_ *(*______)(_ (*)())) {
_____("first");
return (*______)(&____);
}
main () {
_____("main");
_ *(*_____)(_ *(*)(_ (*)())) = &__;
(*(_ (*)())(*_____)(&___))();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment