title: How to read a DNA sequence from a text File and store it in an array in C?
body: <p>How to read a DNA sequence from a text File in C language and store it in an array and extract all the substrings of a given length starting from each nucleotide position?</p>
  
  <p>For Example the sequence is in the following way in the text file</p>
  
  <blockquote>
    <p>cctgatagacgctatctggctatccaggtacttaggtcctctgtgcgaatctatgcgtttccaaccat </p>
  </blockquote>
  
  <p>All the substrings of all the starting positions</p>
  
  <p>if length of the sub string = 3</p>
  
  <p>cct, ctg, tga, gat, ..., cat</p>