Question: DO PART B ONLY PLEASE Task 3: (10 points) Given: A new node structure (intended to be used to create a list of lists) is

 DO PART B ONLY PLEASE Task 3: (10 points) Given: A

new node structure (intended to be used to create a list of

DO PART B ONLY PLEASE

Task 3: (10 points) Given: A new node structure (intended to be used to create a list of lists) is defined in the table below (using struct node): struct node t struct soll nede int item: struct node * next; link Ld // NOTE: Ld must be represented with a dummy starting node. struct sollnode * next: In your drawings, show all the data as done in class (including the list nodes, of type struct node). Use boxes for all member variables and write their value inside the box and their name outside the box. a) (7 points) Draw two nodes (of type struct sailnode) that point to each other. For one of them Ld should be empty (but not NULL) and for the other one Ld should be: 30-15- 18. Use the representation with a DUMMY node for any normal list, Ld, part of nodes of type struct cailnode b) (3 points) Assume that an int is stored in 4 Bytes and a memory address is 8 Bytes. How much space will the above two nodes (and the data that they reference) occupy? That is, give the total space needed to store in memory what you drew above. SHOW YOUR WORK

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!