Example
class
ClassA {
char
i;
int
ClassA;
};
Solution
In the example one of the fileds has the same name as the class "ClassA".This should be avoided.
class
ClassA {
char
a;
int
i;
};