Question: please Activir Use the same Person structure as in the preceding problem in which a person has a name and a pointer to a Person

please  please Activir Use the same Person structure as in the preceding
problem in which a person has a name and a pointer to

Activir Use the same Person structure as in the preceding problem in which a person has a name and a pointer to a Person who is their Best friend. Rearrange the following lines of code to define two pointer variables and use dynarnic allocation to initialize them. Nouse Prag/drop Unused main.cpp Losd defaut templiate. Rearrange the following lines of code to define a Person structure. A person has a name and a poenter to a Per son who is their best friend, Then define two Person variables and make each the best friend of the other. Not all lines are useful. Moere Drag/diop Keyboued Grabrohase More 1 ililo Eancel tue main.epp Lond detait tamplate yirit luile dios treasx using natespace istaj Int tan(n} asary d name - Mary "b joter, nane in F Joher:; cout re:mary, name ke *er best frinnd is n \&4 aryy,test friend-sease \&riendl; cout es john,name ie "*s hest friend is " S gohn, best firiend whane \&e. undly return 9

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!