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

I think that depends on compiler, although it's been a while since I've done C, so I might be wrong.


It's fairly vague in the standard, but most of the time this is what happens so nobody hits the bug. Also, many OS are notorious for being loose with the stack and strict on the heap for various reasons.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: