C
c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
removing the duplicate
*/
#include<stdio.h>
#include<stdlib.h>
struct node
{
struct node *left;
int data;
struct node *right;
};
int print_list();
void insert_data();
void remove_dup();
struct node *head=NULL;
void main()
{
char x;
while(1)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run