1) Create a struct called CourseInfo to store info about a course (Include varia
ID: 3714595 • Letter: 1
Question
1) Create a struct called CourseInfo to store info about a course (Include variables for courseNum, courseName, & grade)
2) Change the type for the 'data' member variable in the node struct to CourseInfo (see #1) and rename it to 'courseData'
3) Modify the createNode function to receive a CourseInfo struct as a parameter. It should also display the address of the new node that is created. Display the address in both hex and decimal form.
4) Modify the display function to display the address of each node that is currently in the list. It should also display the course info data stored in the current node as well as the address of the next node in the list. Display the addresses in both hex and decimal form.
5) Modify the insertStart function to receive a CourseInfo struct as a parameter. It should also display the address of the new node that is inserted. Display the address in both hex and decimal form.
6) Comment out the following functions for now: insertPosition, deleteFirst, deleteLast, deletePosition
7) Create a function called getCourseInfo to get the course info data from the user. It should return a CourseInfo struct type that can be passed into both the createNode and insertStart functions