Skip to content

Instantly share code, notes, and snippets.

@benaryorg
Created June 28, 2014 10:48
Show Gist options
  • Save benaryorg/1348c7956530ab92480b to your computer and use it in GitHub Desktop.
Save benaryorg/1348c7956530ab92480b to your computer and use it in GitHub Desktop.
I am playing with some Pointers.
void ****************************getmemypointer(void)
{
void **tmp=malloc(sizeof(void *));
*tmp=(void *)&tmp;
//I am totally not sure if _this_ works.
return (void ****************************)tmp;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment