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
There are n points and each point enclose with x and y axis form a rectangle and find the point using a program which forms the smallest rectangle?
A family, planning a weekend trip, decides to spend not more than a total of 8 hours driving. By leaving early in the morning, they can average 40 miles per hour on the way to their destination. Due to the heavy Sunday traffic, they can average only 30 miles per hour on the return trip. What is the farthest distance from home they can plan to go? (EXPLAIN WITH PROPER STEPS)
how do we calculate physical address if logical address is given in the question?
What would be the difficulties with building a bridge that connects the UK and Canada?
Is there aptitute question will be asked in NIC exam ??? If yes how many questions will be asked??
what is static identifier in c language?
what are the difference between grounding,earthing and neutral???????....
If you have two 132KV distance scheme and you are using fibre for comms but the two relays on are not compatible interms of comms what can you use to allow communication between the two relays.
what are the artifacts in coding phase in SDLC????
what is rapid application development
how to count number of 3's in 100
What are the inspection and test plan for lift materials?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)