void search() { struct node*i; int ele,pos,found=0; cout<<"Enter element to search:"; cin>>ele; pos=1; for(i=head;i!=NULL;i=i->next,pos++) { if(i->info==ele) { cout<<"Element found at:"<