can i know the source code for reversing a linked list with
out using a temporary variable?
Answer Posted / zhangwy
void Func( struct Node* List )
{
if( List && List->Next )
{
Func( List->Next );
List->Next->Next = List;
List->next = NULL ;
}
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is the difference between 123 and 0123 in c?
What is nested structure in c?
What is #include conio h?
to find the closest pair
Explain the bubble sort algorithm.
What are the valid places to have keyword “break”?
How can I use a preprocessorif expression to ?
What is the meaning of ?
Is main is a keyword in c?
Which is better oop or procedural?
What is the purpose of ftell?
What is the usage of the pointer in c?
what are the advantages of a macro over a function?
What is calloc()?
Explain the process of converting a Tree into a Binary Tree.