title: C - How do I print out characters between double quotes in a string array?
body: <p>Suppose I have a character array as shown below:  </p>
  
  <pre><code>char a[20] = "abc\"defg\"hij";  
  </code></pre>
  
  <p>How do I get it print <code>defg</code>  ?      </p>
  
  <p>I thought of iterating through the array. When I find the first double quote, I begin printing the characters until another double quote is seen. It then breaks out of the loop. Is there a 'cleaner' way to achieve this?    </p>
  
  <p>Thanks for reading</p>