title: What is the difference in pointers when defining char and int?
body: <p>I understand the basics of how pointers work, but the following example confuses me.</p>
  
  <pre><code>int *myNum = 10; // Produces an error
  
  char *myChar = "Something"; // Works fine
  </code></pre>
  
  <p>Why does assigning char work but integer doesn't (Maybe cause char is treated as an array)?</p>
  
  <p>As well what confuses me when directly assigning a pointer variable, does it automatically get an address?</p>
  
  <pre><code>char *myChar = "Something";
  </code></pre>
  
  <p>and</p>
  
  <pre><code>char myChar = "Something";
  char *charAddr = &amp;myChar;
  </code></pre>
  
  <p>What would be the difference here, or equals?</p>