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

In C, "a[x]" is effectively syntactic sugar for just "*(a+x)" (conversion rules for "+" means you don't need the sizeof). It also means you can reverse it and write e.g. "5[somearray]" if you really want to make developers want to throw rocks at you.


hehe, that was me :) when I was young.




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

Search: