Question: Define the structure Person with the following fields: Full name (a string with 50 characters) Friend1 (pointer to Person) Friend2 (pointer to Person) Friend3 (pointer

 Define the structure "Person" with the following fields: Full name (a

Define the structure "Person" with the following fields: Full name (a string with 50 characters) Friend1 (pointer to Person) Friend2 (pointer to Person) Friend3 (pointer to Person) In the main function, declare one "Person" with your full name. Now create some persons dynamically THROUGH YOURSELF to represent the following hierarchy.

NULL Friend A YOU Friend C Friend A YOU Friend B NULL YOU YOU Friend C Friend B NULL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!