Which of the following is the correct declaration of linked list?

1

struct node*

{

int data;

node *link;

}

2

struct node

{

int data;

struct node *link;

}

3

struct node

{

int data;

node link;

}

4

struct node*

{

int data;

struct node *link;

}

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation