Hacker News new | ask | show | jobs
by maccard 3356 days ago
because malloc doesn't return an int, it returns a void
1 comments

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