(10 pts) Use the Node and LinkedList definitions from Lab 06.Implement a function that takes a linked list and the number ofelements in the list as input and returns a dynamic arraycontaining the data elements of the linked list. Test your codebefore writing it down here.
int* linkedListToArray(LinkedList * list, int len)
Expert Answer
An answer will be send to you shortly. . . . .