title: How do I convert from void * back to int in C
body: <p>if I have</p>
  
  <pre><code>int a= 5;
  long b= 10;
  int count0 = 2;
  void ** args0;
  args0 = (void **)malloc(count0 * sizeof(void *));
  args0[0] = (void *)&amp;a;
  args0[1] = (void *)&amp;b;
  </code></pre>
  
  <p>how can I convert from args[0] and args0[1] back to int and long?
  for example</p>
  
  <pre><code>int c=(something im missing)args0[0]
  long d=(something im missing)args1[0]
  </code></pre>