Is it possible to store the address of a label in a variable and use goto to jump to it?

The C and C++ standards do not support this feature. However, the GNU Compiler Collection (GCC) includes a non-standard extension for doing this, as described in the Labels as Values section of the Using the GNU Compiler Collection manual. Essentially, they have added a special unary operator && that reports the address of the label … Read more