See this code snippet below
int main()
{
int(i);
int(j)=6;
}
What does that mean?This code snippet could be compiled without error,and the code hinter shows that i,j
are both variable of type int
.
As far as i'm concerned,only those definitions like int i;int j=6;
are legal and consistent with the syntax.