&& is one of the gcc extensions used to determine the "address of the label currently in the function". I'll attach an example below
int main(void) {
void* startp;
s: //Label s
startp = &&s;
printf("Address of label s: %p\n", startp);
return 0;
}
Output: Address of label s: 0x100000f2f
© 2024 OneMinuteCode. All rights reserved.