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
Why should we use white box testing
which is your dream company and why?
what is test initiation criteria in software testing
2 Answers CybAge, Seed Infotech,
write an algorithm in O(n) time for finding the kth smaalest element form an array of n elements , where n and k are entered by user
10. Write a program in āCā language that will perform the following operation on double link list. Each node of this list contains the address of previous as well as next node. The previous pointer of first node & next pointer of last node should contain null. 1. Creation of list with as many records as user want 2. Search a node in the list 3. Deletion at last position 4. Display 5. Exit Create separate functions for each operation. The create () will be used to create the list. It should accept no argument & return the address of the starting node. Search() will search a node in the list. It receives rollno as argument & return that node if found otherwise return null. The delete () function will delete the last node. It does not receive any argument & return structure type value at last position. The starting node of the double list must be declared as external pointer variable. Each element of double link list will contain the following information Roll No, Std Name, Course. Use do-while loop & switch case for generating the above menu. The format of the output should is given below: S.No. Roll No. Student Name Course 1 cse01 Anil Singh B.Tech
Suppose you want to form a conceptual model of UML.What elements would you require for this purpose?
Is Diesel staorage tank ( 800 litres) cleaning procedure is available with any body
what is PPM,CM & EM in FM company
Briefly describe an experience of yours that illustrates your ability to clearly articulate and explain technical issues in a nontechnical manner
what is instance in oops?
need tcs questn papers from 2007 to 2009 plzzzmail to 9015.rama@gmail.com its urgent
how many tranformations are there in informatica?