title: control characters in C Buffer
body: <p>I need to transmit the following content over socket.</p>
  
  <pre><code>^ASO00^D
  </code></pre>
  
  <p>I tried to store them in buffer:</p>
  
  <pre><code>unsigned char fileData[] = {'^A','S','O','0','0','^D'},
  </code></pre>
  
  <p>when I print the fileData, it doesn't print the ASCII Characters.</p>
  
  <pre><code> printf("%s\n", fileData);
  </code></pre>
  
  <p>It only prints "S000".</p>
  
  <p>How can I save the control characters in buffer</p>
  
  <p>But when I store this in a file and read it from the file, the control characters gets printed</p>