Write a program to maintain a singly linked list having the
following functions:
a) Creation of the list
b) Displaying the list.
c) Swap all nodes at consecutive even odd positions.
E.g.: The nodes at position 1 should be swapped with node
2, node 3 with node 4 and so on.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Engineering AllOther Interview Questions

What a test plan contains

0 Answers   Sonata,


WHO IS STAR....?

1 Answers   TCS,


what is difference between value datatype and object datattype

0 Answers  


What is your Job Profile in IT feild.

0 Answers  


If the length of a rectangle is increased by 30% and the width is decreased by 20%, then the area is increased by...

4 Answers   College School Exams Tests, Infosys, Microsoft, TCS,


how does data cleansing framework works?

0 Answers   TCS,


am looking for ms,i got ielts score 5.5,and i dont have english score 60 in any any year.tell me can i get offer lettr from any university.is i am elegible..?

0 Answers  


why this for loop doesn't work . int i; for(i=2;i=0;i--) { cout<<i; }

0 Answers   Wipro,


A character set has 1 and 2 byte characters. One byte characters have 0 as the first bit. You just keep accumulating the characters in a buffer. Suppose at some point the user types a backspace, how can you remove the character efficiently. (Note: You cant store the last character typed because the user can type in arbitrarily many backspaces)

2 Answers   Microsoft,


explain various object oriented programming fetures

0 Answers  


I have a backlog in Computer Graphics and unable to clear that subject since 2007. Im from JNTU hyderabad. I dont have internal marks, so im unable to clear the subject. Is there any legal way to get my degree bcos of which i cant get proper job. Please help me.

0 Answers  


WHAT ARE THE ADVANTAGE OF SYSTEM ENGINEER

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)