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 a method in c?
Can you tell me how to check whether a linked list is circular?
Explain what are linked list?
Do character constants represent numerical values?
How a string is stored in c?
Can you please compare array with pointer?
What is getch() function?
In which language linux is written?
Is c a great language, or what?
What are the features of c language?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
Why is %d used in c?
main() { printf("hello"); fork(); }
How do we declare variables in c?
#include