title: Why does a C null terminator `\0` show up as `\000` during GDB debugging?
body: <p>During my GDB debugging sessions, I've noticed that null terminator characters, denoting the end of a string, and shown as <code>\0</code> in C files, show up as <code>\000</code> in GDB when displaying the value of a variable storing such a character.</p>
  <pre><code>(gdb) print buffer[10]
  $2 = 0 '\000'
  </code></pre>
  <p>Can anyone tell me why that is?</p>