test.c
#include <stdio.h>
int main(void)
{
int a = 13;
const int **pp = &&a;
return 0;
}
Look at the above code.
I know it is not right.
However, my question is about the error message that I don't understand.
I thought the error message would contain things like "lvalue unary operand required" or something.
After cc -std=c11 test.c, I got this:
test.c: In function ‘main’:
test.c:7:2: error: label ‘a’ used but not defined
const int **pp = &&a;
I think a should be called a variable or identifier which is defined already by using int a = 13;
What is label in the error message for C programming language after error compilation?