
Patrick B. answered 01/27/21
Math and computer tutor/teacher
There will be compiler errors.
Llooks like you are trying to insert into a linked list
Andrew H.
asked 01/27/21Output? What would happen if we call the following function?
printf(“\n\n%d\n\n”, funD(pList));
//pList: 20 40 50 10
int funD( NODE *pList )
{
NODE **ptr;
ptr = &pList;
while ( *ptr )
{
ptr = &((*ptr) ->link);
}
*ptr = pList;
printf(“\n\n%d\n\n”, (*ptr)->link->data);
return (*ptr)->data;
}
Patrick B. answered 01/27/21
Math and computer tutor/teacher
There will be compiler errors.
Llooks like you are trying to insert into a linked list
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Andrew H.
Can you explain which part causes these errors01/27/21