title: How to print a char array in C through printf?
body: <p>This results in segmentation fault.
  What needs to be corrected?</p>
  
  <pre><code>int main(void)
  {
      char a_static = {'q', 'w', 'e', 'r'};
      char b_static = {'a', 's', 'd', 'f'};
  
      printf("\n value of a_static: %s", a_static);
      printf("\n value of b_static: %s\n", b_static);
  }
  </code></pre>