in this class code
PLEASE HELP ME WITH THESE DOUBTS,I CANT FIND THEIR SOLUTION ON INTERNET:
1st doubt:
why make a pointer of T type by node < T > *next when we are just pointing to a node
i mean why ,why not of node type i mean node * next
2nd doubt:
template < typename T > has been written twice,please tell me why wont that give us an error bcoz generally multiple declaration of something gives us error
3rd doubt:
In node < T > *next ,can i use int or float or any other datatype instead of node ,please give me reason ,why or why not
4th doubt:
why not use simply use declare pointer by T *next (pointer to T datatype variable) instead of node < T > *next ,

Keep Coding 