title: C Generate random numbers without repetition
body: <p>I want to generate random numbers between 1 and 13 without repetition
  I used this method, but it doesn't make sure there is no reputation.</p>
  
  <pre><code>for ( i = 0; i &lt; 13; i++)
  {
        array[i] = 1 + (rand() % 13);
  }
  </code></pre>
  
  <p>Please help me. 
  C language </p>