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 does the function toupper() do?
Why static variable is used in c?
Write the Program to reverse a string using pointers.
What is the size of structure pointer in c?
Can you pass an entire structure to functions?
How old is c programming language?
C program to find all possible outcomes of a dice?
Can we change the value of constant variable in c?
What is a rvalue?
What is structure in c language?
What are keywords c?
What is the difference between a function and a method in c?
write a c program to find the sum of five entered numbers using an array named number
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Why does the call char scanf work?