C++
Suggested point values are marked in parentheses. In allquestions that involve writing methods, be sure to think of whethermethod arguments and return values should be references to constdata, whether or not the method should be const, etc.
(4) Write a code fragment that will insert newNode at the rearof a non-empty list.
(4) Write a code fragment that will insert newNode into the listafter the node pointed to by current.
(4) Write a recursive method that will return the size of thelist. The method should take a pointer to an Node<T> andreturn an int. When the method is initially called, it will bepassed
PayPal Gateway not configured
PayPal Gateway not configured