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

I have been always stuck with C99, what is the "post" C23 way that will zero initialize a full union?

Or am I misunderstanding this?



`={}` in place of `={0}` is the new option in C23.




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

Search: