As the question implies,what's the size of usual node:
struct node{
int data;
node* next;
};
If the struct holds the data and the address of next node, what's the size of the pointer address(not what it points to)? Is there a difference if the next points to NULL?
where is the data(which is not a pointer) saved, stack or heap, if I made "new node":
node* linkednode= new node;
Are the answers change if I made class node?