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 suggestions would you give to include quality, as well as, the production capability into design?

0 Answers  


the game of tic-tac-toe is being played between two players. only the last mark to be placed in the game. who will win the game?

8 Answers   Infosys,


WHAT IS APPLICATION ?

1 Answers   TCS,


what are the areas of improvement required in yourself to achieve your career goals? Describe what you are doing/plan to do to address the areas of improvement

0 Answers   TATA,


Name a accredited or govt approved university which have 100% online engineering course

0 Answers  






Can anyone send me iocl written test paper fro computer engineers

0 Answers   IOCL,


Why is it that a single, all – encompassing metric cannot be developed for programme complexity or programme quality?

0 Answers  


A company canteen needs an automated system for its food and beverage management. The canteen receives food and beverage items from different distributors. All the non perishable items are stored in the store-room and the perishable items are put in the fridge. The manager should be able to add, delete or update food and beverage items onto the system and perishable and non perishable item details are to be stored separately. Both waiters and the cooks should be able to update the perishable items, but only the cooks should be allowed to update the non perishable items. Both cooks and waiters are not allowed to add or delete any items that are entered. identify the Schema, Table , Fields

0 Answers   Accenture,


iam from engineering information technology ... can i write group 1 exams??

0 Answers  


How to Define the defect density?

0 Answers   CFCI,


which one is best sorting technique and why?

1 Answers   TCS, Wipro,


Given a passport size photo draw vertical and horizontal lines and mark the intersection points(assume one for the photo and zero for the background).Give the intersection points(1 or 0) to program and print "." for input 1.

1 Answers  


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)