What is wrong with the following code?

1.3 What is wrong with the following code?
struct Person{
char *name;
struct Person Mother, Father;
} Anita;
A) The ; should appear after the } and Anita be defined later.
B) name should be defined as an array.
C) struct Person Mother, Father; must be defined as struct Person *Mother, *Father;
D) There is no error in the code.

Leave a Reply