title: What is the difference between int* ptr and int *ptr in C?
body: <p>I am fairly new at C and I don't know the difference between the following two variable declarations:</p>
  
  <pre><code>int* ptr;
  int *ptr;
  </code></pre>
  
  <p>I think that in the declaration <code>int* ptr;</code>, <code>ptr</code>'s value cannot be changed whereas it can be changed for the declaration, <code>int *ptr;</code></p>
  
  <p>I am not sure if that is it though. </p>
  
  <p>What is the concept behind the two declarations?</p>