Practical Quiz # 2

Submission:
Submit your work via E-learning

Deliverables:
Select your 2 code files (main.cpp and linkedList.h) and compress them into a file named StudentID_FirstName.zip
Note: use Winrar to compress your files.

linkedList class represents a refined implementation of singly linked list with first pointer only. There's no last pointer or count

In linkedList.h

[1] Write the function lenght that returns how many nodes in the linked list

[2] Write the function end that returns pointer to the last node in the linked list

In main.cpp

Create a pointer to an interger linked list named ptrList, allocate memory for it, and test the functionality of your code