Created
June 28, 2014 10:48
-
-
Save benaryorg/1348c7956530ab92480b to your computer and use it in GitHub Desktop.
I am playing with some Pointers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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