What is wrong with the following code?

	struct Person{
		char *name;
		struct Person Mother, Father;
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
Answer & Explanation
Option: [C]

struct is new data type which contains many different types of member variables under a single name.

Your Valuable Comments Please...

Useful Computer Science EBooks