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

To expand slightly on Syonyk said: the compiler cannot do it, because the object is stored between addresses c and c + sizeof(unsigned int). You can use this information to, for example, copy the object to another place with memcpy, and that of course wouldn't work if c wasn't pointing to the "leftmost" byte in the memory.

Unless, I suppose, sizeof was negative :).



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

Search: