declaration of a node in linked list , tree , grapth. code example
Example: declaration of a node in linked list , tree , grapth.
struct node
{
int data; //Data element
struct node * left; //Pointer to left node
struct node * right; //Pointer to right node
};