Hacker News new | past | comments | ask | show | jobs | submit login

The result of the pointer comparison is unspecified, this is not undefined behavior in C++.

I don't know about C.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: