Write a program in C that generates a list of random numbers
Write a program in C that generates a list of random numbers greater than or equal to 0 and less than 32, stores them in a linked list and prints out the array.
The count of numbers will be passed in on the command line.
You must check to make sure the count has been passed in, print an error message and exit if not.
If you run this program multiple times with the same count, you must get different lists of numbers.
Create a thread for initial generation of the numbers and a separate thread for storing them in the linked list.
generate all your numbers in thread 1, store the data in an array then create thread 2 and have it run through the numbers creating the linked list and storing numbers.
Solution
// Algorithm to add a node to the end of the linked list.
Begin:
