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

C is weakly-typed. You can cast anything to anything else and the compiler won't stop you.


That's right! Completely forgot about the cast.


The worse thing is that you can address a memory location and interpret it as another type (aliasing).




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

Search: