[Solved] I can’t run this code of coverting an array into a list
Your definition for the array is incorrect, it should be: int t[n]; Note that you do not need to declare a local array for your purpose, but you should check for proper conversion by scanf. Note also that insert_end probably does not take a list *** argument. Here is an improved version: void tab2list(int n, … Read more