Computer Science, asked by anushabp19, 2 months ago

What is rlink of last node double linked list?

A. None of the above

B. Valid address

C. An item

D. NULL​

Answers

Answered by narendren
0

Answer:

A. None of the above

Explanation:

a rlink of last node doubled link is None of the above

Answered by jayatidsvaidya
0

Answer:

for c:

/* Node of a doubly linked list */

struct Node {

   int data;

   struct Node* next; // Pointer to next node in DLL

   struct Node* prev; // Pointer to previous node in DLL

};

for java:

// Class for Doubly Linked List

public class DLL {

Node head; // head of list

/* Doubly Linked list Node*/

class Node {

 int data;

 Node prev;

 Node next;

 // Constructor to create a new node

 // next and prev is by default initialized as null

 Node(int d) { data = d; }

}

}

for python 3

# Node of a doubly linked list  

class Node:

def __init__(self, next=None, prev=None, data=None):

 self.next = next # reference to next node in DLL

 self.prev = prev # reference to previous node in DLL

 self.data = data

Similar questions