title: how to divide a short value by int in C
body: <p>I have a short value and I want to divide it by an integer value. How can I achieve this in C?</p>
  
  <pre><code>short *i;
  int divider = 3;
  fread(i, sizeof(short), inputfile);
  /*write to buffer with i / divider. */
  </code></pre>