title: How to convert uint16_t into char array in c?
body: <p>have the following data</p>
  
  <pre><code>uint16_t a[1] = { 0x1111 };
  </code></pre>
  
  <p>I want to convert to <code>char b[]</code> as:</p>
  
  <pre><code>char b[1] = { 0x1111 };
  </code></pre>
  
  <p>How can I do it in a C program?</p>