Question: Please answer in c, Im having a hard time trying to figure this out. Thank you! (15pt) Suppose we are dealing with very large integers,

Please answer in c, Im having a hard time trying to figurethis out. Thank you! (15pt) Suppose we are dealing with very largePlease answer in c, Im having a hard time trying to figure this out. Thank you!

(15pt) Suppose we are dealing with very large integers, so a variable with int type is not enough to store such big numbers. So we decided to use double linked list to store the digits of our integers. Accordingly, we created the following structures and linked them to store the digits of our integers, as shown in the below examples 6. typedef struct digitcell int digit; l Actually, it would be better to make this char. but to simplify the code, keep it int struct digitcell prev; struct digitcell *next; | digitcellT typedef struct bigint ( digitcellT *start; digitcellT *end; ) bigintT; Suppose we have already created the following two linked lists for 759 and 9634, respectively NULL NULI NULL NULL You are asked to implement a function, void sum_func (bigintT * sum, bigintT *nl, bigintT *n2), which can be called as follows to create a new link list to represent the sum of the integers given in the above lists bigintT sum, nl, n2; suppose we created the above lists and stored their start and end in nl and n2 */ sum . Start sum . end = NULL; sum func (&sum, &nl, &n2) The resulting new list (sum) will look like as follows sum NUL NULL

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!