HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by a-french-anon | Hacker News Reader
Parent
Full thread
a-french-anon
·
void *p = malloc(30 * 1024 * 1024);
View on HN
BigParm
·
Makes sense. It's intuitive when you specify a number of bytes. I have myself been allocating memory using "new" so idk how my broken brain asked such a dumbass question.
Reply on news.ycombinator.com