Hacker News new | past | comments | ask | show | jobs | submit login

You can (implicitly) convert it to another pointer type, e.g.

    int *buf = malloc(sizeof(*buf));
(It's noteworthy that while there's an implicit conversion above, there's no such thing as an implicit cast.)



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

Search: