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

Explain Belady's Anomaly.

0 Answers  


when there is a parametrized constructor, and an object is created with no arguments. will the default constructor be called?

0 Answers  


In an entity relationship, y is dominant entity and x is a subordinate entity. Then which of the following is/are correct 1. operationally, if y is deleted, so is x 2. x is existence dependent on y 3. operationally, x is deleted on y 4. operationally, x is deleted, y remains the same

4 Answers   HCL,


can you please tell me your understanding in database,what is it

0 Answers   Eskom,


is it possible to apply for visa interview in 4-1 sem for doing ms in usa

1 Answers   QSpiders,






where is the first engeenering college of Asia

0 Answers  


I have attended offcampus conducted by polaris chennai.And i have cleared all rounds on 10th June 2014.They collected all my marksheet xerox and address proof and said that they will send me offer letter in 3 days.. But more than 15days passed but still i didnt receive any information. I am lot depend on this offer... so when can i expect offer letter?? will they surely send me offer letter?

0 Answers   Polaris,


how to send request to the direct server rather than proxy server

0 Answers  


What kind of question can be asked at the time of Interview for State Bank Of India Clerical Interview

0 Answers  


what are the qualifications for a cse student to get government job

1 Answers  


main() { int a=10,b; b=a>=5?100:200; printf("%d\n",b); }

1 Answers   Vector,


please answer the following question: A table contains the monthly sales data for the 12 months of a year and for the 4 sales zones where each zone has 8 districts.The table is defined in WORKING-STORAGE SECTION.What is the size of the defined table in number of bytes? write statements to calculate the total sales for each month.

0 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)