Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void fn(My_struct **o) {
- if (!*o)
- o = (My_struct*)malloc(sizeof(My_struct));
- }
- My_struct *o;
- o = NULL;
- fn(&o);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement