Created
January 13, 2013 02:46
-
-
Save bombless/4521975 to your computer and use it in GitHub Desktop.
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
int* return_pointer(){ | |
return (int*)malloc(sizeof(int)); | |
} | |
void modify_pointer(int **p){ | |
*p = (int*)malloc(sizeof(int)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment