I came across a piece of code void *p = &&abc;. What is the significance of && here?
I know about rvalue references but I think && used in this context is different. What does && indicate in void *p = &&abc; ?
I came across a piece of code void *p = &&abc; . What is
Share
&&is gcc’s extension to get the address of the label defined in the current function.void *p = &&abcis illegal in standard C99 and C++.This compiles with g++.