[1] Programmers [2] are notable for their literal [3] interpretation
[of
questions.
>
[2] OK, /some/ programmers [3].
>
[3] And maybe it's rhetorical, not literal [4].
>
[4] Or a cover for the control messages to the mind-control satellites
[[4].
>
[4] There is no footnote 4.
Maybe you should use structured control flow instead of gotos?
>[1] Programmers [2] are notable for their literal [3] interpretation
>[of
> questions.
>>
>[2] OK, /some/ programmers [3].
>>
>[3] And maybe it's rhetorical, not literal [4].
>>
>[4] Or a cover for the control messages to the mind-control satellites
>[[4].
>>
>[4] There is no footnote 4.
>
Maybe you should use structured control flow instead of gotos?
can anyone tell me how to delete a certain node in a doubly circular
link list
<off-topic reason="better asked in comp.programmin g">
Draw a picture of the list, showing the links as arrows.
Then draw another picture of the list as it would be if the
deleted node were simply not there at all. Study the two
pictures to see which arrows have changed, and then write
code to make those changes in the actual list.
void display(struct node *t)
{
struct node *temp;
if(t==NULL)
{
printf("link list empty");
}
else
{
temp=t;
while(temp->next!=NULL)
{
printf("%d",tem p->data);
temp=temp->next;
}
}
}
void delfirst(struct node *st)
{
if(st==NULL)
{
printf("link list empty");
}
else
{
struct node *temp;
temp=st;
temp->pre->next=temp->next;
st=temp->next;
temp->next->pre=temp->pre;
}
}
this is the program made by me please see and tell me the errors
Comment