If I make a class, for instance:
class Node
{
int myvalue;
Node myparent;
}
Is the Node "myparent" going to be a reference to a node, or is it going to be a copy of that node? If it is a reference to the node, this means that the amount of memory will be about as much as the total # of Nodes I have (including their values), correct? Or is the Node a copy of a Node, and therefore all Nodes take up as much memory as their depth*(amount of memory a node takes)?