Y
Hacker News
new
|
ask
|
show
|
jobs
by
eMSF
2221 days ago
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.)