error: invalid conversion from 'Node*' to 'int'

C++
Node *temp = new Node();
Source

Also in C++: