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
how is the examination pattern?
What is #include called?
What does 2n 4c mean?
What are the data types present in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How do you generate random numbers in C?
How can I discover how many arguments a function was actually called with?
Write a program for finding factorial of a number.
What is the use of a conditional inclusion statement in C?
What is bubble sort in c?
What are the two types of functions in c?
why return type of main is not necessary in linux
What is sizeof array?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
How can I read a binary data file properly?