create an SINGLE LINKED LISTS and reverse the data in the
lists completely

Answer Posted / praveen

Push all the elements into a stack (one by one) and then
create a new list by popping of the elements from the stack

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the header files used in c language?

589


What is a shell structure examples?

590


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

747


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

700


Explain what does it mean when a pointer is used in an if statement?

617






explain what is an endless loop?

611


Is struct oop?

581


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

689


What is const keyword in c?

749


Explain how can you avoid including a header more than once?

603


What does dm mean sexually?

814


Explain 'bus error'?

561


Is it possible to use curly brackets ({}) to enclose single line code in c program?

800


Is array a primitive data type in c?

579


Explain what is wrong with this program statement? Void = 10;

765