Create a program for following operations -
- Create a linked list
- Append a node(insert a node at the end)
- Insert a node at the beginning
- Insert a node at a given location
- Get the length of the linked list
- Delete the node at the given location
- Print all elements of the linked list
- Reverse the linked list
Create functions for each operation and implement them in the main function.
Write program for every condition possible.