title: Combining two 8-Bit array to a USHORT (16 Bit) , without loop
body: <p>I need to combine two <code>UCHAR</code> (8 Bit) arrays to a <code>USHORT</code> (16 Bit) value in C. But I must do that without using "for" or any loop.</p>
  
  <p>as:</p>
  
  <pre><code>UCHAR A[1000], B[1000];
  USHORT C[1000];
  </code></pre>
  
  <p>result must be as:</p>
  
  <pre><code>C[0] = {A[0], B[0]};
  C[1] = {A[1], B[1]};
  ...
  C[1000]={A[1000], B[1000]};
  </code></pre>