Code:void add(struct node **root, int x) { struct node *conductor; if(*root==NULL) { (*root)=malloc(sizeof(struct node)); (*root)->value=x; (*root)->next=NULL ; } else { conductor = *root; while(conductor->next!=NULL) { conductor = conductor -> next; } conductor->next=malloc(sizeof(struct node)); conductor->next->value=x; conductor->next->next=NULL; } }
what does conductor = conductor -> next; means? i've trace the whole program already but I just don't understand that conductor = conductor -> next; this is the code that our proff gave us as a note . but It still confuses me