Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's true. I usually initialize the struct in the stack and then assign it to the pointer, then pass the pointer around.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: