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


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,


What is your Job Profile in IT feild.

0 Answers  


when air is supplied from larger diameter pipe with some pressure if change diameter to small pipe the pressure increases or not? also what is increased pressureor velocity?

0 Answers  


how bluetooth works?what is principle behind in it?

2 Answers   TCS,


sir ,,kindly provide me 10 year old solved question papers of gate ,i am from CS. branch...

0 Answers  






What is the meaning of "co relation" and what is the value of "co relation" in the performance testing environment.

0 Answers  


what is putchar() and getchar()?????

1 Answers  


What is the main difference between binary and counting semaphore?

0 Answers  


Q1 Design a webpage for a hotel which displays all the information of the hotel such as rooms available, facilities, and packages along with rate list. Apply the different tags available to give it a good style.

0 Answers  


How To Create RAID & Troubleshoot RAID related issue.

0 Answers   Omnitech,


Calculate the interstage pressure ratio per stage for a two stage compressor if the overall pressure ratio is 10.

0 Answers  


I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.

0 Answers   TCS,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • 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)