Question: void InsertInOrder ( martry a ) { node * p = new node; p - > location = a . location; p - > Name.push
void InsertInOrdermartry a
node p new node;
plocation alocation;
pName.pushbacka;
pDate.pushbacka;
node p p;
p cursor;
p NULL;
while p && plocation alocation
p p;
p pnext;
if p && p
cursor p;
else if p && pp && p
pnext p;
pnext p;
else if p && p
pnext p;
cursor p;
n;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
