can i know the source code for reversing a linked list with
out using a temporary variable?
Answer Posted / fazil
void Func( struct Node* List )
{
if( List && List->Next )
{
Func( List->Next );
List->Next->Next = List;
}
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How do I send escape sequences to control a terminal or other device?
What does %c do in c?
Why is c faster?
How can I list all of the predefined identifiers?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Which header file is used for clrscr?
How can I insert or delete a line (or record) in the middle of a file?
What is difference between static and global variable in c?
What is array within structure?
In C language what is a 'dangling pointer'?
What is getch?
What are the different data types in C?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What does s c mean in text?
Explain high-order and low-order bytes.