title: how is char * to string literal valid?
body: <p>So from my understanding pointer variables point to an address. So, how is the following code valid in C++?</p>
  
  <pre><code>char* b= "abcd"; //valid
  int *c= 1; //invalid
  </code></pre>