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

because malloc doesn't return an int, it returns a void


malloc returns a void pointer because it implicitly converts to an int pointer, as it should.




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

Search: