title: reading a char array inside a linked list node?
body: <p>I'm trying to build a Binary search tree using linked list. so my struct for my linked list is:</p>
  
  <pre><code>typedef struct node{
      char english[20];
      char span[60];
      struct node *left;
      struct node *right;
  } BST;
  </code></pre>
  
  <p>How would i access the char array inside the node to modify it? lets say if i have a char <code>english[]</code> and i want to copy it into the array inside the node, how would i do that? I used these line but not sure if they are right or not?</p>
  
  <pre><code>int counter = 0;
      while(array[counter] != ' ')
      {
          node.english[counter] = array[counter];
          counter++;
      }
  </code></pre>
  
  <p>Any feedback would be appreciated. </p>