Question: This program's purpose is to create a singly linked-list for cars to keep track of inventory. To do this, I'm using structures, one struct cars

This program's purpose is to create a singly linked-list for cars to keep track of inventory. To do this, I'm using structures, one struct cars, one struct car_accessories, and one struct for list.
1. Create a list pointer in int main() (a pointer to a list_t node) which is called by the function list_t *newList( )
typedef struct list { car *head; car *tail; int size; } list_t; list_t *newList(); int main(int argc, char **argv) { return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
