Question: using C language 2 (4.0 points) Write the function: void int2list (int n, struct node **head); which receives a positive integer n in input and

using C language

using C language 2 (4.0 points) Write the function: void int2list (int

2 (4.0 points) Write the function: void int2list (int n, struct node **head); which receives a positive integer n in input and it generates a list, referenced by head, including one element for each digit of the number n. When the function is called the pointer head is equal to NULL. Elements in the list must have the same order of the digits in the number n. For example, if n = 1357, the function must create the following list: head11-31-5117

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!