title: What is the default value of char in c
body: <p>When I declare an <em>int</em> variable, and do not not assign a value to it, and then when I print it, a random number gets printed.</p>
  
  <p>but when I allocate a <em>char</em> variable, and print it with <code>%c</code> format specifier, nothing is printed. So does a <em>char</em> variable in C have a default value like null? Do local variables in C start with a random value? Then why doesn't a <em>char</em> behave in this way?</p>