Double Linked list removal

vvshah's Avatar
Newbie Member
typedef struct a {

   char *val;              
   struct a *prev; 
   struct a *next; 
} a_pt;

a_pt* strt;
I need a function to remove an entry of type(a_pt *) from "strt".
IMPORTANT: Make no assumptions regarding the allocation of a_pt or val.

Last edited by shabbir; 29Mar2007 at 08:12.. Reason: Code formatting
vvshah's Avatar
Newbie Member
I want it in C language.
DaWei's Avatar, Join Date: Dec 2006
Team Leader
I need 40,000. I want it in USD. Make no assumptions about exchange rate.
wrecker's Avatar, Join Date: Mar 2007
Go4Expert Member
Never make mistake to ask for code. you may just Google for codes. you should better refer to

Never ask these questions. Better Google it....
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Originally Posted by wrecker
Never ask these questions. Better Google it....
You probably don't need to do that as well as its there right at the top of every page.