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
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Explain what is wrong with this program statement? Void = 10;
How a string is stored in c?
Write a program to find the biggest number of three numbers in c?
What is the purpose of macro in C language?
Explain the process of converting a Tree into a Binary Tree.
What is a program?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is register variable in c language?
What is bss in c?
What is union in c?
What are the benefits of organizational structure?
Why string is used in c?
Explain how are portions of a program disabled in demo versions?
Can 'this' pointer by used in the constructor?