title: How to skip over white spaces in a string while reading from a file
body: <p>I want to read 20 strings from a file which may or may not contain white spaces.Those strings are in consecutive lines in a file. I want to create a character array from a line which will not contain white spaces. How to do that?</p>
  
  <p>eg: </p>
  
  <pre><code>aaa bbbbccc 
  abcedefghij
  </code></pre>
  
  <p>and so on.</p>
  
  <p>I want to create a char array which will have these elements, <code>{a,a,a,b,b,b,b,c,c,c}</code>
  another array with <code>{a,b,c,d,e,f,g,h,i,j}</code></p>
  
  <p>Can I use <code>sscanf</code>? </p>