How to write sorted linked list program in cpp with class
C++ Program for sorted single linked list with class
//sorted linked list
latest
#include<iostream>
using namespace std;
struct node
{
int data;
node *next;
};
node *start=NULL;
void insert(int d)
{
node
*newnode=new node;
newnode->data=d;
newnode->next=NULL;
//insert as
first elt
if(start==NULL)
{