is node*head a object of class node
Can pointer also be object
Yes it is an object and since it is a pointer variable, it will store the address of that particular node.
is node*head a object of class node
Yes it is an object and since it is a pointer variable, it will store the address of that particular node.