Y
Hacker News
new
|
ask
|
show
|
jobs
by
crazy2be
4037 days ago
Well, in this (simple) case you can just do
int *foo; foo = malloc(sizeof(*foo));
And avoid the brittleness mentioned.