title: Function pointer as parameter of qsort function
body: <p>at the qsort function in c there is a functin pointer to the compare function, which actually sorts the data of the array given.</p>
  
  <p>so inside that function i see:</p>
  
  <pre><code>if ( *(MyType*)a &lt;  *(MyType*)b ) return -1;
  </code></pre>
  
  <p>Well i understand a will casted to MyType* but what about the star after that on the very left? what is it doing?</p>
  
  <p>Well, i guess this just dereference the pointer a?</p>
  
  <p>thx.</p>
  
  <p>/me</p>