Q34
For the following structure declaration, find the correct statement. struct person char name[20]; int age; struct person lady; ;
A.
Is a valid nested structure.
B.
Uses an invalid data type.
C.
Is a self referential structure.
D.
Is not a valid nested structure.
AnswerE.
Is a self referential structure with invalid data type.
Answer: Option D
Solution
Answer: Option D
Solution:
As we cannot create a variable of itself as a member of the structure, but a reference can be created to create a self referential structure.