title: C language, how find the length of a word in a 2d array?
body: <p>I am trying to make a condition for a for loop where i have to say <code>(c&lt;wordlength)</code> but im not sure how to find the length of the word.</p>
  
  <p>so lets say i have an arrary called...</p>
  
  <pre><code>char shopping[10][10]={"BAGELS","HAM","EGGS"};
  </code></pre>
  
  <p>what is the right syntax to find that shopping[0] has 6 letters?</p>