Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Casting the return value of malloc is necessary in C++. I think that's why it's so widespread, so you can compile your C program with a C++ compiler.


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

Search: