how to swap two numbers in a linked list without exchanging
the data but only the links?

Answer Posted / siva

head points 20
head=head->link;
link->next;
link->head=head->next

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to making game in c++ ?

2288


Name the different types of stl containers.

789


How do you convert stl to steps?

718


Why should a c++ programmer be interested in stl?

722


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

1948






draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2959


Can we use stl in coding interviews?

1389


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

1982


What is the use of stl?

727


write a program to convert a decimal number in to its equivalent binary number?

2162


What do stl stand for?

748


What are the various types of stl containers?

829


How is stl different from c++ standard library?

845


What are the different types of stl containers?

743


Who created stl?

742