title: Is it defined which is preferred way of storing strings in C?
body: <pre><code>char my_name[] = "Red";
  
  char *my_name = "Red";
  </code></pre>
  
  <p>Does the latter get stored in stack as well if called inside a function?</p>