Question: void doo(node *root) if(root !=0) { nodecint>*p=root; while(root->next!=0) root=root->next; p->data=root->data; } What is this code do? O a. set the first item in the linked

void doo(node
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
