Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setNull(int* piTest)
- {
- piTest = NULL;
- }
- int* itest = malloc(sizeof(int));
- printf("itest: 0x%08x",itest);
- setNull(itest);
- printf("itest: 0x%08x",itest);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement