i am not able to understand why we use constructor here … bhaiya told once but i am not able to find that video
class node{
public:
int data;
nodeleft;
noderight;
node(int d){
data = d;
left = NULL;
right = NULL;
}
};