This code gives error \'no declaration matches Node* List::getNewNode(int)\'
class List { private: struct Node { int data;