Answer Posted / prakashdasari
node *ptr1,*ptr2,*ptr3;
ptr1=start;
ptr2=ptr1->next;
ptr3=ptr2->next;
ptr1->next=NULL;
ptr2->next=ptr1;
while(ptr3!=NULL)
{
ptr1=ptr2;
ptr2=ptr3;
ptr3=ptr3->next;
ptr2->next=ptr1;
}
start = ptr2;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the modifiers available in c programming language?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
what is event driven software and what is procedural driven software?
Do you have any idea about the use of "auto" keyword?
Explain heap and queue.
What do you understand by friend-functions? How are they used?
What is this pointer in c plus plus?
Tell me when is a void pointer used?
How will you write a code for accessing the length of an array without assigning it to another variable?
Why we use conio h in c?
What does double pointer mean in c?
How do we print only part of a string in c?
What is a static variable in c?
Give basis knowledge of web designing ...
Is main is a keyword in c?