title: printing byte chars in C
body: <p>i have an input c-string that seems to be in bytes or octets.
  when i print it by doing</p>
  
  <pre><code>printf("this is string[%s]\n", inputCstr);
  </code></pre>
  
  <p>it doesn't print the whole thing.
  so i tried to loop it like</p>
  
  <pre><code>for (int i=0; i&lt;len; i++) {
      printf("inputCstr[%d] = %c", i, inputCstr[i]);
  }
  </code></pre>
  
  <p>this loops through entire string but this actually skips some indices. for example, if the string was "abcdefg", it will give
  something like</p>
  
  <pre><code>inputCstr[0] = a
  inputCstr[2] = c
  inputCstr[5] = f
  </code></pre>
  
  <p>what am i missing here? </p>