title: How to know the end of int* array?
body: <p>I'm making a dynamic array with <code>int*</code> data type using <code>malloc()</code>. But the problems is, how to know end of array?</p>
  
  <p>There no an equivalent to <code>\0</code> for <code>int*</code> data type,so, how to do this? Pass size as out parameter of function?</p>