title: What is the difference between C pointer and Objective C pointer?
body: <p>I know its a very basic question. Got some memory issues I need to clarify. Here is my doubt:</p>
  
  <pre><code>int *p = malloc (50); // will allocate 50 bytes and it is pointed by p.
  
  // Freeing C pointer--&gt;
  
  free(p);
  </code></pre>
  
  <p>Objective-C pointers:</p>
  
  <pre><code>ClassAobject *objA = .... // allocated ClassAobject..
  
  // Freeing obj-C pointer---&gt;
  
  objA = nil // Is it enough??? will it release all ivars memory properly..
  </code></pre>
  
  <p>what if the case, If I have some C pointers inside the objective C class? How to handle this in ARC</p>