News for hackers. Stuff that matters.
Re:Ask HN: Favorite pointer tricks in C? by defen on Sunday November 21, 2010 @12:08AM (#1926365)
* Using && to take the address of a jump label.

Had to look that one up...turns out it's a GCC trick that allows you store the address of a jump label into a pointer to void. Later on, you can do "goto *ptr" to jump back to that address. Neat. See http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html

(You obviously already know this...just putting it here in case anyone else hasn't heard of it and is curious)

Re:Ask HN: Favorite pointer tricks in C? by mansr on Sunday November 21, 2010 @07:29AM (#1926964)
Being a gcc extension to the C language, I recommend this construct never be used and certainly not taught.