News for hackers. Stuff that matters.
Re:Ask HN: Favorite pointer tricks in C? by corysama on Saturday November 20, 2010 @08:13PM (#1925883)
String literals are implicitly pointers and pointers are mostly equivalent to arrays.

char digitAsChar = "0123456789"[digitAsInt%10];

There are no comments on this comment yet.