Question
(a) Provide two advantages of using 'Linked List' instead of 'arrays' in programs.
(b) Write down description of a 'linked list' to contain the following-
(i) course_id of datatype integer
(ii) character array course_name of size 40
(iii) floating-point variables duration and fees
(iv) pointer variable next of same structure type
(v) Include the tag course within definition
(c)(i) Declare two variables of type course.
(ii) Write down suitable statement to allocate memory to the first node.
(d) Write down function to make the linked list with the nodes declared. This function has to also allow the user to terminate the input.