Deep or Shallow

1
2
3
4
5
6
7
/*
struct Node{
    int data;
    Node *next;
};
*/
Node *current = head;

Which technique is used in the \(7^\text{th}\) line of the above C++ code script to copy the structure head of type Node (which is the head of a linked list, say 1->2->3 or so) to the structure current?

×

Problem Loading...

Note Loading...

Set Loading...