Which of the following is a typical declaration of a triply linked list in C?
A.
struct node
{
int data;
struct node *previous;
struct node *top;
};
B.
struct node
{
int data;
struct node *next;
struct node *top;
};
C.
struct node
{
int data;
struct node *next;
struct node *previous;
struct node *top;
};
D.
struct node
{
int data;
struct node *next;
struct node *previous;
};
Answer: Option C
Join The Discussion