cake
cake copied to clipboard
Redeclaration error
At file scope you can have multiple declarations.
typedef int I;
I i;
int i;
int i = 0;
In function scope, params only one. except typedefs.
typedef int I;
typedef int I;
typedef int I;
typedef int I;
I i;
int i;
int i = 0;
int main()
{
typedef int I;
typedef int I;
}
When multiple declaration are accept they must have the same type. This is missing