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

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
Get step-by-step solutions from verified subject matter experts
