Skip to content

Instantly share code, notes, and snippets.

@i
Created September 24, 2013 05:01
Show Gist options
  • Save i/6680571 to your computer and use it in GitHub Desktop.
Save i/6680571 to your computer and use it in GitHub Desktop.
Function pointer example
#include <stdio.h>
int main(int argc, char **argv) {
int (*zzz)(const char *k, ...);
zzz = printf;
zzz("hello world\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment